Currently, my multiple selector looks like this:
$("#id").select2({
closeOnSelect: false,
nextSearchTerm: "",
tokenSeparators: ['/n']
});
I'd like the dropdown to remain open after something is chosen, but I'd also like the typed search field to be cleared after the user hits enter.
In the previous version of select2, we could use nextSearchTerm to clear the search field in the multiple select boxes by setting nextSearchTerm to "" or something similar. But nextSearchTerm doesn't seem to exist in v4, or am I mistaken in it's functions?
Thanks!