JQuery autocomplete select component with multiple values
24,006
This is an old question, but still comes up high on search results.
jQueryUI now has this in its autocomplete function (which operates on an <input>
tag, not a <select>
tag).
See https://jqueryui.com/autocomplete/#multiple for a working example.
Personally, I'm looking elsewhere because I prefer to populate a <select>
and then have it modified by javascript to an autocomplete - it makes for a safe fallback if the javascript fails.
Author by
mjgirl
Updated on June 24, 2020Comments
-
mjgirl about 4 years
Recently I asked about JQuery autocomplete select/combobox component. However, I haven't been able to find an example where user could select multiple values. My question is now is this even possible? If not, is there anything else what would fit my needs?