fixes #366
This commit is contained in:
parent
bdd746844d
commit
2cb435680b
@ -1216,8 +1216,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (search.val().length < opts.minimumInputLength && checkFormatter(opts.formatInputTooShort, "formatInputTooShort")) {
|
||||
if (search.val().length < opts.minimumInputLength) {
|
||||
if (checkFormatter(opts.formatInputTooShort, "formatInputTooShort")) {
|
||||
render("<li class='select2-no-results'>" + opts.formatInputTooShort(search.val(), opts.minimumInputLength) + "</li>");
|
||||
} else {
|
||||
render("");
|
||||
}
|
||||
return;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user