admin: implement Enter keypress on search
This commit is contained in:
parent
cb97af2f8a
commit
7c84301c04
4 changed files with 51 additions and 3 deletions
|
|
@ -20,7 +20,7 @@
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<p><input type="search" class="form-control" placeholder="Search" ng-model="query" autofocus></p>
|
||||
<p><input type="search" class="form-control" placeholder="Search" ng-model="query" ng-keypress="validateSearch($event)" autofocus></p>
|
||||
<table class="table table-hover table-bordered table-striped table-sm">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
|
|
|
|||
Reference in a new issue