[solved] Dynamic option creation stops after 2 characters

Hello,

I’m on select2 4.0.7-rc.0, since there was a bug with 4.0.6 with dropdown not disappearing.
I have a bug/strange behaviour I can’t understand.

I’ve enabled dynamic content creation on a multiple select tag. Everything worked fine, and I don’t recall changing anything. When the user types in to create an option, after 2 characters, one option is selected, and all the previous selected options are deselected.

I can’t wrap my head around this

Thanks for your help!

Found the problem, it was jQuery v3.4, had to rollback to 3.3

More information https://github.com/select2/select2/issues/5485