Commit 382fea7b authored by Phil Hughes's avatar Phil Hughes

Handle clear search async

parent ab7bfff0
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
if (!activeElements.length) { if (!activeElements.length) {
if (this.isHandledAsync) { if (this.isHandledAsync) {
e.stopImmediatePropagation(); e.stopImmediatePropagation();
this.filteredSearchInput.blur(); this.filteredSearchInput.blur();
this.dropdownManager.resetDropdowns(); this.dropdownManager.resetDropdowns();
} else { } else {
...@@ -205,6 +206,10 @@ ...@@ -205,6 +206,10 @@
this.handleInputPlaceholder(); this.handleInputPlaceholder();
this.dropdownManager.resetDropdowns(); this.dropdownManager.resetDropdowns();
if (this.isHandledAsync) {
this.search();
}
} }
handleInputVisualToken() { handleInputVisualToken() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment