Autocomplete needs to add a defaultHoveredFirstOption parameter #1634
104gogo
started this conversation in
Feature requests
Replies: 1 comment
-
|
Hi, thanks for bringing that up! We'll change the logic of hovered items in version 5.0 to allow your use case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When we developed the search function, we used the Autocomplete component. When the API returned data, the results were displayed in the drop-down box of the Autocomplete component.
The problem we're having now is that the Autocomplete component selects the first item by default, and then the user presses enter to go to the details page of the first search result. But this is not the expected behavior, we want the user to enter the search results page after pressing Enter, and only enter the details page when the user clicks on an item.
Hope to add a parameter, so can not select the first item by default. thanks!
Beta Was this translation helpful? Give feedback.
All reactions