From 9896cf673156270a74370a6158b946b32b14707a Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 5 Aug 2022 19:20:01 +0800 Subject: [PATCH] feat(gui-v2): add heading & subheading to form view --- .../nc-gui-v2/components/smartsheet/Form.vue | 43 ++++++++++++++++++- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet/Form.vue b/packages/nc-gui-v2/components/smartsheet/Form.vue index 7200c81725..a29b7f2069 100644 --- a/packages/nc-gui-v2/components/smartsheet/Form.vue +++ b/packages/nc-gui-v2/components/smartsheet/Form.vue @@ -5,6 +5,11 @@ import { MetaInj } from '~/context' const { isUIAllowed } = useUIPermission() +const formState = reactive({ + heading: 'TestForm1', + subheading: '', +}) + const isEditable = isUIAllowed('editFormView' as Permission) const meta = inject(MetaInj) @@ -16,10 +21,12 @@ const hiddenColumns = computed(() => []) function addAllColumns() {} function removeAllColumns() {} + +function updateView() {}