From b441b7334568ce1175cd193e8faaffd6a3a666ff Mon Sep 17 00:00:00 2001 From: Dominik Prokop Date: Thu, 12 Mar 2020 11:50:50 +0100 Subject: [PATCH] DashboardSave: Autofocus save dashboard form input (#22748) --- .../components/SaveDashboard/forms/SaveDashboardAsForm.tsx | 7 ++++++- .../components/SaveDashboard/forms/SaveDashboardForm.tsx | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/public/app/features/dashboard/components/SaveDashboard/forms/SaveDashboardAsForm.tsx b/public/app/features/dashboard/components/SaveDashboard/forms/SaveDashboardAsForm.tsx index 0f99dbe8ce0..7d56b839dfb 100644 --- a/public/app/features/dashboard/components/SaveDashboard/forms/SaveDashboardAsForm.tsx +++ b/public/app/features/dashboard/components/SaveDashboard/forms/SaveDashboardAsForm.tsx @@ -75,7 +75,12 @@ export const SaveDashboardAsForm: React.FC ( <> - + = ({ dashboard, {({ register, errors }) => ( <> - + {hasTimeChanged && (