UX: Increase default form width (#27680)

pull/27704/head
Torkel Ödegaard 5 years ago committed by GitHub
parent 7a77eb7635
commit a9e49c24c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/grafana-ui/src/components/Forms/Form.tsx

@ -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…
Cancel
Save