UX: Increase default form width (#27680)

This commit is contained in:
Torkel Ödegaard 2020-09-22 13:27:35 +02:00 committed by GitHub
parent 7a77eb7635
commit a9e49c24c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ export function Form<T>({
validateFieldsOnMount,
children,
validateOn = 'onSubmit',
maxWidth = 400,
maxWidth = 600,
...htmlProps
}: FormProps<T>) {
const { handleSubmit, register, errors, control, triggerValidation, getValues, formState, watch } = useForm<T>({