BAR
BAR

Reputation: 17131

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?

Upvotes: 5

Views: 5412

Answers (1)

Gaslan
Gaslan

Reputation: 808

You can use minimumInputLength option to do this.

minimumInputLength: 3,

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

Upvotes: 9

Related Questions