diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 8ff5b1d071..e83e2ab88d 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -534,7 +534,7 @@ const saveOrUpdateRecords = async (args: { metaValue?: TableType; viewMetaValue? currentRow.rowMeta.changed = false for (const field of (args.metaValue || meta.value)?.columns ?? []) { if (isVirtualCol(field)) continue - if (currentRow.row[field.title!] !== currentRow.oldRow[field.title!]) { + if (field.title! in currentRow.row && currentRow.row[field.title!] !== currentRow.oldRow[field.title!]) { await updateOrSaveRow(currentRow, field.title!, {}, args) } }