When I set the select2 (3.4.0) value with the following code:
el.select2('val', [1,2,3, 4, 5, 6, 7, 8, 10, 11, 12]);
it shows me the no matches found message. It happens only at start-up, if I put focus on select2 popup menu the message dissapears and never appears again...

How can I remove this message? Thank you
I ran into a similar issue where 'No matches found' was showing. Turns out I forgot to update the CSS when I updated my javascript to 3.4.0. Check to make sure you didn't make the same mistake.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With