Customizable combo select multiple and autocomplete My client wants an input element for a custom form to behave like this:


Dropdown checkbox multiple
Autosuggest field


So if we have a list of countries (Spain, UK, USA), it can display all the elements, and allows to select several of them. And if it is a long list of countries, you could search by entering the few letters, and only those items which match the entered letters would appear.

As for the first behaviour, I have found the following module "Dropdwon checkboxes". As for the second one, I haven't found any module so far, but in the wild there is this example (see example: Filtering mode: (filter existing list) ).

Any idea on how could I get the result? Maybe injecting some custom Javascript (jQuery) code into the multiple checkbox customized with the first module, to add the autocomplete capabilities?
As you suggest you have achieved the first one so supposing you have a dropdown with values then you can use the jQuery plugin / javascript to make the select an Autocomplete field. You can use select2

Thanks