I’m wondering whether there is a way to use select2 with no data source, just with the flag
tags: true. In other words, I just want to use the free-typing tokenisation feature, no predefined options.
That would basically mean disabling the dropdown.
I tried preventing
select2:opening event, but that would also prevent tokenisation of the input (which btw is unexpected and I’m not sure it is the behaviour you want to have)…
this is a very minimal example. In short, I just want to hide the dropdown:
At the very least, it would be fine to hide the message “No results found”…