Do not unregister form (#856)

Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
Jeremy Gallant
2025-09-17 18:34:19 +02:00
committed by GitHub
co-authored by philon-
parent d5610de826
commit 1bdd923365
@@ -90,7 +90,6 @@ export function DynamicForm<T extends FieldValues>({
? createZodResolver(validationSchema)
: undefined,
shouldFocusError: false,
shouldUnregister: true,
resetOptions: { keepDefaultValues: true },
values,
});