We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdd7468 commit 2cb4356Copy full SHA for 2cb4356
1 file changed
select2.js
@@ -1216,8 +1216,12 @@
1216
}
1217
1218
1219
- if (search.val().length < opts.minimumInputLength && checkFormatter(opts.formatInputTooShort, "formatInputTooShort")) {
1220
- render("<li class='select2-no-results'>" + opts.formatInputTooShort(search.val(), opts.minimumInputLength) + "</li>");
+ if (search.val().length < opts.minimumInputLength) {
+ if (checkFormatter(opts.formatInputTooShort, "formatInputTooShort")) {
1221
+ render("<li class='select2-no-results'>" + opts.formatInputTooShort(search.val(), opts.minimumInputLength) + "</li>");
1222
+ } else {
1223
+ render("");
1224
+ }
1225
return;
1226
1227
else {
0 commit comments