mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
UX: Increase default form width (#27680)
This commit is contained in:
parent
7a77eb7635
commit
a9e49c24c2
@ -21,7 +21,7 @@ export function Form<T>({
|
|||||||
validateFieldsOnMount,
|
validateFieldsOnMount,
|
||||||
children,
|
children,
|
||||||
validateOn = 'onSubmit',
|
validateOn = 'onSubmit',
|
||||||
maxWidth = 400,
|
maxWidth = 600,
|
||||||
...htmlProps
|
...htmlProps
|
||||||
}: FormProps<T>) {
|
}: FormProps<T>) {
|
||||||
const { handleSubmit, register, errors, control, triggerValidation, getValues, formState, watch } = useForm<T>({
|
const { handleSubmit, register, errors, control, triggerValidation, getValues, formState, watch } = useForm<T>({
|
||||||
|
Loading…
Reference in New Issue
Block a user