diff --git a/packages/nc-gui-v2/components/smartsheet-column/FormulaOptions.vue b/packages/nc-gui-v2/components/smartsheet-column/FormulaOptions.vue index 8b1d3f5f36..e3f500554e 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/FormulaOptions.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/FormulaOptions.vue @@ -593,7 +593,7 @@ function getFormulaTypeName(type: string) { } // set default value -formState.value.formula_raw = (column?.colOptions as Record)?.formula_raw || '' +formState.value.formula_raw = (column?.value?.colOptions as Record)?.formula_raw || '' // set additional validations setAdditionalValidations({