Select2 Start matching after the first N characters

Is there a way for the Select2 drop-down menu to appear only after entering three or more characters?

+4
source share
1 answer

You can use the option minimumInputLengthto do this.

minimumInputLength: 3,

You can look here https://select2.imtqy.com/options.html

+7
source

Source: https://habr.com/ru/post/1598682/


All Articles