Properly debounce searching and make sure to only show results matching the current query.
This commit is contained in:
parent
48f3e9af1d
commit
5ae2975134
5 changed files with 70 additions and 3 deletions
|
@ -140,6 +140,7 @@
|
|||
<div class="search-box-wrapper">
|
||||
<input id="search-box-input" type="text" placeholder="(Enter Search Terms)"
|
||||
ng-model-options="{'debounce': 250}" ng-model="currentSearchQuery"
|
||||
debounce="250"
|
||||
ng-keydown="handleSearchKeyDown($event)">
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue