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
When I press Enter after typing in the Combobox but without using the arrow keys to select an option, the typed in text remains in the Combobox input even though no value is set/selected, even after you tab out or click out of the Combobox. I expected the input to be cleared once focus left the Combobox if no option was selected.
Type in text matching a real option, such as "React"
Press Enter (which will close the listbox)
Press Tab or click outside the field (the text of "React" is still in the field, but the value is not selected)
Click the trigger to open the listbox (the text remains in the input, but there is no checkmark next to the option, which shows that the value was not selected)
Click outside the field (this will clear the input, further proving the value was never set)
Scenario 1: Just because the text typed matches an option doesn't make it "selected" in that sense. Only an actual selection event (keyboard or pointer) makes an option selected.
Scenario 2: That's definitely a bug that needs to be fixed.
Description
When I press Enter after typing in the Combobox but without using the arrow keys to select an option, the typed in text remains in the Combobox input even though no value is set/selected, even after you tab out or click out of the Combobox. I expected the input to be cleared once focus left the Combobox if no option was selected.
Link to Reproduction (or Detailed Explanation)
https://ark-ui.com/react/docs/components/combobox
Steps to Reproduce
Scenario 1:
Scenario 2:
Ark UI Version
4.0.0
Framework
Browser
Google Chrome Version 129.0.6668.70
Additional Information
No response
The text was updated successfully, but these errors were encountered: