Commit a9e49c24 by Torkel Ödegaard Committed by GitHub

UX: Increase default form width (#27680)

parent 7a77eb76
...@@ -21,7 +21,7 @@ export function Form<T>({ ...@@ -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>({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment