diff --git a/dist/js/bootstrap-multiselect.js b/dist/js/bootstrap-multiselect.js index 2a028b77..f29674d6 100644 --- a/dist/js/bootstrap-multiselect.js +++ b/dist/js/bootstrap-multiselect.js @@ -1122,6 +1122,9 @@ else if (this.options.filterBehavior === 'both') { filterCandidate = text + '\n' + value; } + else if ('function' === typeof this.options.filterBehavior) { + filterCandidate = this.options.filterBehavior({ text: text, value: value }); + } if (value !== this.options.selectAllValue && text) {