TIL, from https://cheat.sh 's code, that you can use the
<datalist> HTML element along with the
list attribute on an input, to get something that behaves a bit like select2 : you have a text input with a dropdown, if you start typing in the input, it will filter suggestions from this dropdown.
See the MDN example
80 links, including 11 private