diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts index 603ff64a1..cb5e9f7cc 100644 --- a/app/src/protyle/render/av/select.ts +++ b/app/src/protyle/render/av/select.ts @@ -386,6 +386,7 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAV, options: { bgColor: "", id: Lute.NewNodeID(), value: { + type: colData.type, mSelect: [] }, valueType: colData.type diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts index f4c8babc3..8cdebd599 100644 --- a/app/src/types/index.d.ts +++ b/app/src/types/index.d.ts @@ -912,7 +912,7 @@ interface IAVCell { } interface IAVCellValue { - type?: TAVCol, + type: TAVCol, text?: { content: string }, number?: { content?: number, isNotEmpty: boolean }, mSelect?: { content: string, color: string }[]