From: Bill Erickson Date: Mon, 8 Feb 2021 15:12:52 +0000 (-0500) Subject: LP1904036 Prompt dialog focus input followup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c453f52c2e9bde111affcaf64a4baf50793dd6ad;p=evergreen%2Fpines.git LP1904036 Prompt dialog focus input followup Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/share/dialog/prompt.component.ts b/Open-ILS/src/eg2/src/app/share/dialog/prompt.component.ts index 68ca8b1531..1a1a87bfac 100644 --- a/Open-ILS/src/eg2/src/app/share/dialog/prompt.component.ts +++ b/Open-ILS/src/eg2/src/app/share/dialog/prompt.component.ts @@ -27,7 +27,7 @@ export class PromptDialogComponent extends DialogComponent implements OnInit { ngOnInit() { this.onOpen$.subscribe(_ => { - const node = document.getElementById(this.inputDomId); + const node = document.getElementById(this.inputDomId) as HTMLInputElement; if (node) { node.focus(); node.select(); } }); }