The codes are open-source and its available at
GitHub - jogetoss/typeahead-multiselect-datalist-filter: Typeahead Multiselect Datalist Filter is a Datalist Filter plugin that list possible choices based on user input while filling the search filter
Have at it and change it to meet your use case.
Personally I'd advise them to use the search filter function...