Handle clear search async

This commit is contained in:
Phil Hughes 2017-03-07 15:54:45 +00:00
parent ab7bfff08b
commit 382fea7b59
1 changed files with 5 additions and 0 deletions

View File

@ -107,6 +107,7 @@
if (!activeElements.length) {
if (this.isHandledAsync) {
e.stopImmediatePropagation();
this.filteredSearchInput.blur();
this.dropdownManager.resetDropdowns();
} else {
@ -205,6 +206,10 @@
this.handleInputPlaceholder();
this.dropdownManager.resetDropdowns();
if (this.isHandledAsync) {
this.search();
}
}
handleInputVisualToken() {