Do not unregister form (#856)
Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user