RED-6154, add search input id to page header component.

This commit is contained in:
George 2023-03-06 15:27:09 +02:00
parent e21ca5059e
commit d09078e44c
2 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@
<ng-template #searchBar>
<iqser-input-with-action
[inputId]="searchInputId"
(valueChange)="searchService.searchValue = $event"
*ngIf="searchPlaceholder && searchService"
[class.mr-8]="searchPosition === searchPositions.beforeFilters"

View File

@ -19,6 +19,7 @@ export class PageHeaderComponent<T extends IListable> {
readonly iconButtonTypes = IconButtonTypes;
@Input() pageLabel?: string;
@Input() searchInputId?: string;
@Input() showCloseButton = false;
@Input() hideResetButton = false;
@Input() actionConfigs?: readonly ActionConfig[];