From 389c8f9a1dddfc6dd0174fd681666b8ec36b6aaf Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 6 May 2022 14:53:59 +0800 Subject: [PATCH] enhancement: formula option UI --- .../components/editColumn/formulaOptions.vue | 125 ++++++++++++------ 1 file changed, 87 insertions(+), 38 deletions(-) diff --git a/packages/nc-gui/components/project/spreadsheet/components/editColumn/formulaOptions.vue b/packages/nc-gui/components/project/spreadsheet/components/editColumn/formulaOptions.vue index d5af9bc103..97f2a7a8d3 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editColumn/formulaOptions.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editColumn/formulaOptions.vue @@ -1,35 +1,28 @@ @@ -87,7 +123,7 @@ export default { type: 'function' })), ...this.meta.columns.filter(c => !this.column || this.column.id !== c.id).map(c => ({ - text: c.title, + text: '$' + c.title + '$', type: 'column', c })), @@ -266,4 +302,17 @@ export default {