fix: failed to duplicate value in sub-table when setting data scope in association select (#3239)
This commit is contained in:
parent
978c4c5f61
commit
b8244bfb9a
@ -138,6 +138,7 @@ export const Templates = ({ style = {}, form }) => {
|
|||||||
forEach(data, (value, key) => {
|
forEach(data, (value, key) => {
|
||||||
if (value) {
|
if (value) {
|
||||||
form.values[key] = value;
|
form.values[key] = value;
|
||||||
|
form?.setInitialValuesIn?.(key, value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user