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 a4dfa00 commit fe3ed47Copy full SHA for fe3ed47
multiple-select.js
@@ -520,6 +520,7 @@
520
filter: function () {
521
var that = this,
522
text = $.trim(this.$searchInput.val()).toLowerCase();
523
+
524
if (text.length === 0) {
525
this.$selectAll.parent().show();
526
this.$selectItems.parent().show();
@@ -550,6 +551,7 @@
550
551
}
552
this.updateOptGroupSelect();
553
this.updateSelectAll();
554
+ this.options.onFilter(text);
555
556
};
557
@@ -656,6 +658,9 @@
656
658
},
657
659
onClick: function () {
660
return false;
661
+ },
662
+ onFilter: function (text) {
663
+ return false;
664
665
666
})(jQuery);
0 commit comments