We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0fcaa2 commit 1632b05Copy full SHA for 1632b05
packages/components/form/FormList.tsx
@@ -35,7 +35,7 @@ const FormList: React.FC<TdFormListProps> = (props) => {
35
} else {
36
propsInitialData = get(initialDataFromForm, fullPath);
37
}
38
- return propsInitialData;
+ return cloneDeep(propsInitialData);
39
}, [fullPath, parentFullPath, initialDataFromForm, parentInitialData, props.initialData]);
40
41
const [formListValue, setFormListValue] = useState(() => {
0 commit comments