|
|
|
@ -75,7 +75,12 @@ export const SaveDashboardAsForm: React.FC<SaveDashboardFormProps & { isNew?: bo |
|
|
|
{({ register, control, errors }) => ( |
|
|
|
{({ register, control, errors }) => ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
<Forms.Field label="Dashboard name" invalid={!!errors.title} error="Dashboard name is required"> |
|
|
|
<Forms.Field label="Dashboard name" invalid={!!errors.title} error="Dashboard name is required"> |
|
|
|
<Forms.Input name="title" ref={register({ required: true })} aria-label="Save dashboard title field" /> |
|
|
|
<Forms.Input |
|
|
|
|
|
|
|
name="title" |
|
|
|
|
|
|
|
ref={register({ required: true })} |
|
|
|
|
|
|
|
aria-label="Save dashboard title field" |
|
|
|
|
|
|
|
autoFocus |
|
|
|
|
|
|
|
/> |
|
|
|
</Forms.Field> |
|
|
|
</Forms.Field> |
|
|
|
<Forms.Field label="Folder"> |
|
|
|
<Forms.Field label="Folder"> |
|
|
|
<Forms.InputControl |
|
|
|
<Forms.InputControl |
|
|
|
|