Please check the image attached
I'm working with select2 4.0 and am populating items into the select by using ajax calls. All is working fine. I can do incremental search and this speeds a lot.
The problem is that select2 allows user to select this "temporary item" generated dynamically from what user writes in the box...
Does anyone know how should I disable selection of this item? Or at least validate in the button click that this item should not be selected...