We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a5fe2 commit 87e6200Copy full SHA for 87e6200
1 file changed
select2.js
@@ -1571,9 +1571,7 @@ the specific language governing permissions and limitations under the Apache Lic
1571
}
1572
1573
if (data.results.length === 0 && checkFormatter(opts.formatNoMatches, "formatNoMatches")) {
1574
- if (results.find(".select2-no-results").length === 0) {
1575
- render("<li class='select2-no-results'>" + opts.formatNoMatches(search.val()) + "</li>");
1576
- }
+ render("<li class='select2-no-results'>" + opts.formatNoMatches(search.val()) + "</li>");
1577
return;
1578
1579
0 commit comments