trigger blur handlers on source element when select2 is blurred
This commit is contained in:
parent
93ed30d67a
commit
2027c0cebf
@ -1297,6 +1297,7 @@
|
|||||||
if (this.search[0] === document.activeElement) { this.search.blur(); }
|
if (this.search[0] === document.activeElement) { this.search.blur(); }
|
||||||
this.clearSearch();
|
this.clearSearch();
|
||||||
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
|
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
|
||||||
|
this.opts.element.triggerHandler("blur");
|
||||||
},
|
},
|
||||||
|
|
||||||
// abstract
|
// abstract
|
||||||
|
Loading…
x
Reference in New Issue
Block a user