select2 / select2-bootstrap-theme

A Select2 v4 Theme for Bootstrap 3
https://select2.github.io/select2-bootstrap-theme/
MIT License
872 stars 499 forks source link

Keeping the text if no results are found (select) #88

Open Jatapiaro opened 4 years ago

Jatapiaro commented 4 years ago

Hey, I want to Implement the following functionality.

  1. The user makes a search on a select

  2. If there are no results I wan to keep the written text as the value of the select.

Is there a way to implement that using this library?