Open stijn7621 opened 1 year ago
Sounds like what you are looking for is something like an autocomplete search field. You could make your own component in the meantime using this an as example (autocomplete for a Country input field):
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_autocomplete
For a component to be made from that example, seems like all that would be needed is an array of autocomplete options to hook into the autocomplete function, plus styling options which could be pulled from existing Bootstrap libraries.
Whether Bootstrap implements it or not idk, seems to go outside scope of "plug and play" slightly enough to invite feature creep.
Prerequisites
Proposal
I would like to see a dropdown for quick access predefined options combined with a text input, like a combobox. I think this could be easily done using vanilla JS and stacking those controls on top of each other.
Motivation and context
I have a lot of projects going on where I'm using forms with only textfields, however it doesn't fit the user needs.