-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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]: can I allow an onBlur to trigger the onChange event of a Combobox for a new item entry? #6999
Comments
This is supported by the wai-aria guidance:
The current implementation doesn't follow any of these specifically, more of a blend of |
@tay1orjones Firstly I would give +1 for But also those 4 patterns you quoted deal with the selection behaviour, I think the original issue description deals more with the other expected behaviour of combobox, that it also behaves like a text input and allow input of arbitrary text, text that does not match an option in the list. |
Summary
As I user, I expect ComboBox to work like a TextInput for newly Items, blurring the field should trigger the onChange event. Could we add a property to the ComboBox control to allow them to work like that? Similar to this bug:
#6613
Justification
For our usecases, we mostly want to use ComboBox to enter new items, but occasionally to select an existing item.
Desired UX and success metrics
As a user I am able to submit new items to the ComboBox simply by entering new text, and then leaving the field
The text was updated successfully, but these errors were encountered: