Replies: 1 comment
-
The Tags input (#1284) might be more appropriate, if it can be optionally configured to disallow custom tags, and have a bindable input for fetching options remotely. |
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
-
For those unfamiliar, select2 is a jQuery
<select>
enhancement lib which adds searching and ajax functionality. Specifically for my usecase, I want amultiple
select with search and ajax, like in this example screenshot:Features:
I think the closest thing in bits-ui is
Combobox
, but theCombobox.Input
shows the last selected item, whereas I want the input's value to clear (or optionally retain its current search value when an item is selected, i.e. select2's closeOnSelect option, which has this side effect). I don't see any options onCombobox.Input
which could achieve this behaviour. Perhaps if the value were bindable, but I'm not sure of the implications of that.If you think
Combobox
is the wrong approach, I'd appreciate any suggestions.My combobox attempt:
Beta Was this translation helpful? Give feedback.
All reactions