From d322796183a3d300bdb5692644bc6d8d5790433d Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sun, 7 Aug 2022 11:41:09 +0800 Subject: [PATCH] wip(gui-v2): include SmartsheetColumnEditOrAdd --- packages/nc-gui-v2/components/smartsheet/Form.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/smartsheet/Form.vue b/packages/nc-gui-v2/components/smartsheet/Form.vue index e98e9c4bfd..7efe9c8487 100644 --- a/packages/nc-gui-v2/components/smartsheet/Form.vue +++ b/packages/nc-gui-v2/components/smartsheet/Form.vue @@ -39,6 +39,8 @@ const meta = inject(MetaInj) const view = inject(ActiveViewInj) +if (meta) useProvideColumnCreateStore(meta) + const { loadData, paginationData, @@ -65,6 +67,8 @@ const availableColumns = inject(FieldsInj, ref([])) const systemFieldsIds = ref>([]) +const showColumnDropdown = ref(false) + const formView = ref({}) function updateView() {} @@ -265,13 +269,17 @@ watch( {{ $t('msg.info.dragDropHide') }} - +
{{ $t('activity.addField') }}
+ + + +