dropdown_button2
dropdown_button2 copied to clipboard
Is it possible to search typing directly in the main control without showing the dropdown list?
We're trying to locate an item starting writing in the main control, without showing the dropdown list. I mean, when the dropdownbutton gets the focus, the user starts writing 'Colu'... and the items in the list that coincide with 'Colu' will be selected ('Columbia', 'Columbus' for instance).
It would be useful, especially for desktop and web apps.
Example: in this dropdown
with this item list:
If the user starts writing 'Colu'... (NOTE: not necessarily need to be showing the list)...
... the list will be filtered by the search term. If there's only one item that coincides with the search term, it would be automatically selected.
Thank you!
I'm not sure I understand the UX here. Do you have a real example or this is a special UX?
I'm not sure I understand the UX here. Do you have a real example or this is a special UX?
I'm talking about a "standard" behavior in which the user starts typing right after the control gets the focus, without having to drop down the list. As they're typing, the selected item is changing to reflect the first item in the list that coincides with the text that they've written so far. So they wouldn't need to expand the list of items (only by typing the correct word, they select the proper item).
It's like an inline autocomplete. That would be the word, I believe.
You can see an example in this link:
https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both/#ex_label
Both features editable dropdown field and inline autocomplete are not supported yet.
Both features editable dropdown field and inline autocomplete are not supported yet.
Ok, I see... it's a pity, we'd have loved it if we'd been able to use it. Thank you so much, @AhmedLSayed9.
Do you think it would be interesting to implement it?
Do you think it would be interesting to implement it?
Yes, but it'll take some time. Feel free to contribute if you want :)