We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563198a commit cb9a904Copy full SHA for cb9a904
src/js/select2/data/tags.js
@@ -53,7 +53,10 @@ define([
53
}, true)
54
);
55
56
- var checkText = option.text === params.term;
+ var optionText = (option.text || '').toUpperCase();
57
+ var paramsTerm = (params.term || '').toUpperCase();
58
+
59
+ var checkText = optionText === paramsTerm;
60
61
if (checkText || checkChildren) {
62
if (child) {
0 commit comments