Add debounce to search
This commit is contained in:
parent
25d8b6ec02
commit
481d9b2394
2 changed files with 18 additions and 3 deletions
|
@ -49,6 +49,7 @@
|
|||
<input class="form-control" type="text" placeholder="search"
|
||||
ng-model="$ctrl.enteredQuery"
|
||||
typeahead="$ctrl.onTypeahead($event)"
|
||||
ta-debounce="250"
|
||||
ta-display-key="name"
|
||||
ta-suggestion-tmpl="search-result-template"
|
||||
ta-clear-on-select="$ctrl.clearOnSearch"
|
||||
|
|
Reference in a new issue