From c453f52c2e9bde111affcaf64a4baf50793dd6ad Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 8 Feb 2021 10:12:52 -0500 Subject: [PATCH] LP1904036 Prompt dialog focus input followup Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/share/dialog/prompt.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }); } -- 2.11.0