admin(ui): autofocus field on New Location modal open
This commit is contained in:
parent
93be6db530
commit
d43e70c97a
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,7 @@ export default () => {
|
|||
>
|
||||
<FlashMessageRender byKey={'location:create'} css={tw`mb-6`}/>
|
||||
|
||||
<h2 css={tw`text-neutral-100 text-2xl mb-6`}>New Location</h2>
|
||||
<h2 css={tw`mb-6 text-2xl text-neutral-100`}>New Location</h2>
|
||||
|
||||
<Form css={tw`m-0`}>
|
||||
<Field
|
||||
|
@ -72,6 +72,7 @@ export default () => {
|
|||
name={'short'}
|
||||
label={'Short'}
|
||||
description={'A short name used to identify this location.'}
|
||||
autoFocus
|
||||
/>
|
||||
|
||||
<div css={tw`mt-6`}>
|
||||
|
|
Loading…
Reference in a new issue