Skip to content

Commit

Permalink
feat(libs): Focus search field on app load
Browse files Browse the repository at this point in the history
  • Loading branch information
Angi-Kinas committed Nov 8, 2023
1 parent d42c29a commit b116a3d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export class AutocompleteComponent
}

ngAfterViewInit(): void {
this.inputRef.nativeElement.focus()
this.autocomplete.optionSelected.subscribe(this.selectionSubject)
}

Expand Down

0 comments on commit b116a3d

Please sign in to comment.