javascript - Can I use select2 purely as a tokenizer, disabling the dropdown/search/match functionality? -


i have multiple instances of select2 elements in form, in 1 of them (which on hidden input) want tokenize input.

i dont want dropdown ever show because shows "no matches found" , confuses users. need disable dropdown , use select2 tokenizer specific element. possible?

(i know can out plugin want use plugin decorates tokens , removes icon , uniform other inputs use it)

used approach described @paralife.

found there option dropdowncss sets dropdown style. dropdowncss:{display:'none'} enough disable well.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -