[AAE-5715] support hint labels for search input (#7444)

This commit is contained in:
Denys Vuika
2022-01-12 15:09:55 +00:00
committed by GitHub
parent 790e3d465d
commit 0bf6eae731
2 changed files with 5 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
(keyup.enter)="toggleSearchBar()">
<mat-icon [attr.aria-label]="'SEARCH.BUTTON.ARIA-LABEL' | translate">search</mat-icon>
</button>
<mat-form-field class="adf-input-form-field-divider">
<mat-form-field class="adf-input-form-field-divider" [hintLabel]="hintLabel">
<input matInput
#searchInput
[attr.aria-label]="'SEARCH.INPUT.ARIA-LABEL' | translate"