allow setting primary key in o2m (#4218)

This commit is contained in:
Nitwel
2021-02-22 16:07:51 +01:00
committed by GitHub
parent 055ebcb69b
commit 3cedef6d13

View File

@@ -403,7 +403,7 @@ export default defineComponent({
return item;
});
if (hasPrimaryKey === false && newValue.includes(edits) === false) {
if (newValue.includes(edits) === false) {
newValue.push(edits);
}