Properly debounce searching and make sure to only show results matching the current query.

This commit is contained in:
Joseph Schorr 2015-04-08 16:40:22 -04:00
parent 48f3e9af1d
commit 5ae2975134
5 changed files with 70 additions and 3 deletions

View file

@ -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>