From 882f04d893288b02f2c1062cfa8512f887368ac1 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Mon, 13 Mar 2023 19:41:42 +0100 Subject: [PATCH] set focus the new way --- .../dashboard-page/new-dashboard/new-dashboard.component.html | 2 +- .../app/dashboard-page/new-dashboard/new-dashboard.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.html b/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.html index f4d3b5b..b9a6153 100644 --- a/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.html +++ b/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.html @@ -7,7 +7,7 @@
Name - + Description diff --git a/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.ts b/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.ts index faeabf4..dc3f0ea 100644 --- a/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.ts +++ b/pdb-js/src/app/dashboard-page/new-dashboard/new-dashboard.component.ts @@ -15,7 +15,7 @@ export class NewDashboardComponent implements OnInit { } ngOnInit(): void { - window.setTimeout(() => this.nameInput.nativeElement.focus(), 0); + //window.setTimeout(() => this.nameInput.nativeElement.focus(), 0); } onSaveClick(): void {