admin(ui): autofocus field on New Nest modal open
This commit is contained in:
parent
10fc7e88e0
commit
224943cc85
|
@ -63,7 +63,7 @@ export default () => {
|
||||||
>
|
>
|
||||||
<FlashMessageRender byKey={'nest:create'} css={tw`mb-6`}/>
|
<FlashMessageRender byKey={'nest:create'} css={tw`mb-6`}/>
|
||||||
|
|
||||||
<h2 css={tw`text-neutral-100 text-2xl mb-6`}>New Nest</h2>
|
<h2 css={tw`mb-6 text-2xl text-neutral-100`}>New Nest</h2>
|
||||||
|
|
||||||
<Form css={tw`m-0`}>
|
<Form css={tw`m-0`}>
|
||||||
<Field
|
<Field
|
||||||
|
@ -72,6 +72,7 @@ export default () => {
|
||||||
name={'name'}
|
name={'name'}
|
||||||
label={'Name'}
|
label={'Name'}
|
||||||
description={'A short name used to identify this nest.'}
|
description={'A short name used to identify this nest.'}
|
||||||
|
autoFocus
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div css={tw`mt-6`}>
|
<div css={tw`mt-6`}>
|
||||||
|
|
Loading…
Reference in New Issue