Merge "Enable debounce in filter fields."

This commit is contained in:
Jenkins 2016-01-28 10:57:03 +00:00 committed by Gerrit Code Review
commit d87edc944c
2 changed files with 10 additions and 2 deletions

View File

@ -39,7 +39,11 @@
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text" class="form-control" placeholder="Search for {{ home.groupKey }}" ng-model="home.searchProject" ng-change="home.onSearchChange()">
<input type="text" class="form-control"
placeholder="Search for {{ home.groupKey }}"
ng-model="home.searchProject"
ng-model-options="{debounce: 250}"
ng-change="home.onSearchChange()">
</div>
</div>
</form>

View File

@ -21,7 +21,11 @@
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text" class="form-control" placeholder="Search for test" ng-model="tests.searchTest" ng-change="tests.onSearchChange()">
<input type="text" class="form-control"
placeholder="Search for test"
ng-model="tests.searchTest"
ng-model-options="{debounce: 250}"
ng-change="tests.onSearchChange()">
</div>
</div>
</form>