Combobox: List selected items with badges/input chips #42281
Unanswered
pardeyke
asked this question in
v6 Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I really love the new combobox component, especially the search feature. I was really looking forward to replacing use-bootstrap-select for some time, and this might be the opportunity.
A feature that is very popular all over the web is select boxes with multiple inputs and a badge-like appearance for the selected items in the closed select box—something that visually looks like the new input chips. I think it would be beneficial to merge the presentation of the input chips into the combobox. In the best case, this would also include the ability to add new items. I know the new-items feature is highly dependent on your backend, but it could perhaps just trigger an event. This could then be handled in JS per backend or maybe there is a general approach to this.
For reference:
On my Ruby on Rails backend, I currently handle this by submitting the new item (let’s call it “Orange”) in the id field (id=“Orange”).
I have not implemented this with multiple new items, though.
Beta Was this translation helpful? Give feedback.
All reactions