You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, pressing enter on the ComboboxInput element triggers a click on the selected item. While this might be what is desired in a lot of cases, its not ideal because:
it removes any native event data - the event comes through as a click event even when user pressed enter
in some cases, such as a search box with suggestions, this is not ideal as the enter key should trigger a search with user's query instead of selecting the first result of the suggestion
To alleviate this, inputEnterFunction could be provided to the ComboboxRoot element, which will perform custom action on pressing enter.
Additional information
I intend to submit a PR for this feature.
I have already implemented and/or tested this feature.
The text was updated successfully, but these errors were encountered:
Describe the feature
By default, pressing enter on the
ComboboxInput
element triggers a click on the selected item. While this might be what is desired in a lot of cases, its not ideal because:To alleviate this,
inputEnterFunction
could be provided to theComboboxRoot
element, which will perform custom action on pressing enter.Additional information
The text was updated successfully, but these errors were encountered: