From b116a3d7617ca7804049f9f3dab120685d6a99b9 Mon Sep 17 00:00:00 2001 From: Angelika Kinas Date: Wed, 8 Nov 2023 10:57:42 +0100 Subject: [PATCH] feat(libs): Focus search field on app load --- libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts b/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts index 2442fe4c83..24e5e65971 100644 --- a/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +++ b/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts @@ -109,6 +109,7 @@ export class AutocompleteComponent } ngAfterViewInit(): void { + this.inputRef.nativeElement.focus() this.autocomplete.optionSelected.subscribe(this.selectionSubject) }