Autocomplete mode for Listbox/Select component #822
sergeyzwezdin
started this conversation in
Ideas
Replies: 3 comments
-
I can try to implement it for React component, but not for Vue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
By the way, the name of this UI pattern is called combobox and is present in most of the native GUI toolkits (for example, Gtk). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be very helpful if Listbox would allow to build autocomplete like input when a user can type something and values in dropdown will be filtered out. Something like this:
To do that, we need to update the
Listbox
component slightly:Listbox.Input
along withListbox.Button
, so it will allow to add<input type="text" />
. The only difference here is that dropdown won't be focused when clicking outListbox.Input
.OptionRenderPropArg
so we can use it when render option (to be able to highlight search value).Beta Was this translation helpful? Give feedback.
All reactions