Do not unregister form (#856)
Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
1 parent
d5610de826
commit
1bdd923365
1 file changed
-1
@@ -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