diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts index 6855d07d7..2f01cca44 100644 --- a/app/src/protyle/render/av/select.ts +++ b/app/src/protyle/render/av/select.ts @@ -378,6 +378,17 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAVTable, options: return true; } }); + if (!cellData) { + cellData = { + color: "", + bgColor:"", + id: Lute.NewNodeID(), + value: { + mSelect: [] + }, + valueType: colData.type + } + } const oldValue = Object.assign([], cellData.value.mSelect); if (colData.type === "mSelect") {