We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43c648 commit a13f56eCopy full SHA for a13f56e
src/lib/core/components/Form/hooks/useMutators.ts
@@ -67,9 +67,7 @@ export const useMutators = (externalMutators?: DynamicFormMutators) => {
67
...(mutators.errors
68
? {errors: mergeValuesOrErrors(store.errors, mutators.errors)}
69
: {}),
70
- ...(mutators.values
71
- ? {values: mergeValuesOrErrors(store.values, mutators.values)}
72
- : {}),
+ ...(mutators.values ? {values: mergeValuesOrErrors({}, mutators.values)} : {}),
73
...(mutators.spec ? {spec: mergeSpec(store.spec, mutators.spec)} : {}),
74
};
75
},
0 commit comments