Skip to content

Commit 9b5aa6a

Browse files
authored
fix: fix merge values and errors method (#311)
1 parent e6883ed commit 9b5aa6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/core/components/Form/hooks/useMutators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const useMutators = (externalMutators?: DynamicFormMutators) => {
5656
const result = {...a};
5757

5858
Object.keys(b).forEach((key) => {
59-
set(result, [key, 'value'], b[key]);
59+
set(result, [key], {value: b[key]});
6060
});
6161

6262
return result;

0 commit comments

Comments
 (0)