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 dd68860 commit a18af71Copy full SHA for a18af71
template/app/controller/Search.js
@@ -96,9 +96,18 @@ Ext.define('Docs.controller.Search', {
96
clearTimeout(this.searchTimeout);
97
this.searchTimeout = Ext.Function.defer(function() {
98
this.search(el.value);
99
+ this.searchTimeout = void 0;
100
}, this.basicSearchDelay, this);
101
}
102
},
103
+ change: function(tf, newValue, oldValue){
104
+ if(newValue && !oldValue){
105
+ this.getDropdown().show();
106
+ this.search(newValue);
107
+ } else if(!this.searchTimeout && this.getDropdown().isVisible()){
108
109
+ }
110
+ },
111
focus: function(el) {
112
if (el.value && this.getDropdown().store.getCount() > 0) {
113
this.getDropdown().show();
0 commit comments