Select2 Start Matching After First N Characters
Asked Answered
D

1

5

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

Doha answered 20/7, 2015 at 11:45 Comment(0)
H
9

You can use minimumInputLength option to do this.

minimumInputLength: 3,

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

Heartsease answered 20/7, 2015 at 11:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.