|
|
@ -604,11 +604,16 @@ function scrollToSelectedOption() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// set default value |
|
|
|
// set default value |
|
|
|
vModel.value.formula_raw = substituteColumnIdWithAliasInFormula( |
|
|
|
if ((column.value?.colOptions as any)?.formula_raw) { |
|
|
|
(column.value?.colOptions as FormulaType)?.formula, |
|
|
|
vModel.value.formula_raw = |
|
|
|
meta?.value?.columns as ColumnType[], |
|
|
|
substituteColumnIdWithAliasInFormula( |
|
|
|
(column.value?.colOptions as any)?.formula_raw, |
|
|
|
(column.value?.colOptions as FormulaType)?.formula, |
|
|
|
) |
|
|
|
meta?.value?.columns as ColumnType[], |
|
|
|
|
|
|
|
(column.value?.colOptions as any)?.formula_raw, |
|
|
|
|
|
|
|
) || '' |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
vModel.value.formula_raw = '' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// set additional validations |
|
|
|
// set additional validations |
|
|
|
setAdditionalValidations({ |
|
|
|
setAdditionalValidations({ |
|
|
|