-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combobox: prevent auto selection of the first element #583
Comments
@evra We intend the combo box to select the first matching item and set it as the input value when the user presses enter. Is there a specific set of steps to reproduce your issue outside of this scenario? |
@tomdye The following steps can be used to reproduce the behavior: First Scenario:A combobox has two elements: 'A' and 'B', empty selection is allowed. None of the elements is selected in the combobox.
Second ScenarioA combobox has two elements: 'A' and 'B', empty selection is allowed. B is selected.
|
Scenario one has been addressed and fixed in the typeahead, scenario two is a larger discussion around deselection which is being tracked and discussed via #1655 |
Closing this as will now be tracked via #1655 |
Bug
The first element in the combobox is preselected when user starts typing in the input field. When user hits 'enter' the value of the first element gets applyed and replaces what the user already typed in the input field.
Package Version: 3.0.0
Expected behavior:
On Enter the value of the first element should not be copied into the input.
Actual behavior:
On Enter the value of the first element gets copied into the input field
The text was updated successfully, but these errors were encountered: