formatSearching can be disabled
formatSearching can be disabled by returning null from the function which allows the searching message to be disabled.
This commit is contained in:
parent
65493206a7
commit
3fcfbed03a
@ -1226,7 +1226,7 @@
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else if (opts.formatSearching() != null) {
|
||||||
render("<li class='select2-searching'>" + opts.formatSearching() + "</li>");
|
render("<li class='select2-searching'>" + opts.formatSearching() + "</li>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user