mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:46:38 +00:00
fix: the selected data in the sub table is overwritten by default values (#5075)
This commit is contained in:
parent
84ca0eb296
commit
2c466db7bb
@ -154,6 +154,7 @@ export const SubTable: any = observer(
|
||||
onClick() {
|
||||
selectedRows.map((v) => field.value.push(v));
|
||||
field.onInput(field.value);
|
||||
field.initialValue = field.value;
|
||||
setSelectedRows([]);
|
||||
setVisible(false);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user