From d43e70c97a2b790a612cb26369668fda4a01ff6d Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Tue, 16 Feb 2021 13:01:55 -0700 Subject: [PATCH] admin(ui): autofocus field on New Location modal open --- .../scripts/components/admin/locations/NewLocationButton.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/scripts/components/admin/locations/NewLocationButton.tsx b/resources/scripts/components/admin/locations/NewLocationButton.tsx index 6bccc2f69..5dcc53767 100644 --- a/resources/scripts/components/admin/locations/NewLocationButton.tsx +++ b/resources/scripts/components/admin/locations/NewLocationButton.tsx @@ -63,7 +63,7 @@ export default () => { > -

New Location

+

New Location

{ name={'short'} label={'Short'} description={'A short name used to identify this location.'} + autoFocus />