Merge pull request #4178 from GabrielInTheWorld/fix-autofocus-search
Fixes #4174
This commit is contained in:
commit
c423f3a0a4
@ -35,6 +35,7 @@
|
||||
</button>
|
||||
<mat-form-field *ngIf="isSearchBar">
|
||||
<input
|
||||
osAutofocus
|
||||
matInput
|
||||
(keyup)="applySearch($event, $event.target.value)"
|
||||
placeholder="{{ translate.instant('Search') }}"
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="search-field">
|
||||
<form [formGroup]="quickSearchform">
|
||||
<mat-form-field>
|
||||
<input matInput formControlName="query" (keyup)="quickSearch()" />
|
||||
<input matInput osAutofocus formControlName="query" (keyup)="quickSearch()" />
|
||||
<mat-icon matSuffix>search</mat-icon>
|
||||
</mat-form-field>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user