Browse Source

Do not unregister form (#856)

Co-authored-by: philon- <[email protected]>
pull/863/head
Jeremy Gallant 9 months ago
committed by GitHub
parent
commit
1bdd923365
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      packages/web/src/components/Form/DynamicForm.tsx

1
packages/web/src/components/Form/DynamicForm.tsx

@ -90,7 +90,6 @@ export function DynamicForm<T extends FieldValues>({
? createZodResolver(validationSchema)
: undefined,
shouldFocusError: false,
shouldUnregister: true,
resetOptions: { keepDefaultValues: true },
values,
});

Loading…
Cancel
Save