Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select2 Start Matching After First N Characters

Is there a way to have the Select2 dropdown appear only after 3 or more chars have been typed?

like image 594
BAR Avatar asked Jul 20 '15 11:07

BAR


1 Answers

You can use minimumInputLength option top do this.

minimumInputLength: 3,

You can look here https://select2.github.io/options.html

like image 149
Gaslan Avatar answered Nov 03 '22 20:11

Gaslan