#87: debounce for 750ms before a query is fired
This commit is contained in:
parent
8d464b7336
commit
f42b8d6be6
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="query-persons">{{'Search:' | translate}}</label>
|
<label for="query-persons">{{'Search:' | translate}}</label>
|
||||||
<input eventman-focus type="text" id="query-persons" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query">
|
<input eventman-focus type="text" id="query-persons" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query" ng-model-options="{debounce: 750}">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="query-persons">{{'Search:' | translate}}</label>
|
<label for="query-persons">{{'Search:' | translate}}</label>
|
||||||
<input eventman-focus type="text" id="query-persons" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query">
|
<input eventman-focus type="text" id="query-persons" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query" ng-model-options="{debounce: 750}">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="events-order">{{'Sort by:' | translate}}</label>
|
<label for="events-order">{{'Sort by:' | translate}}</label>
|
||||||
|
|
Loading…
Reference in a new issue