From 66525a8769cc36202646232ba44968ed8d01d797 Mon Sep 17 00:00:00 2001 From: mertmit Date: Fri, 22 Jul 2022 20:16:47 +0300 Subject: [PATCH] fix: form view for select column Re #2767 Signed-off-by: mertmit --- .../spreadsheet/components/EditableCell.vue | 1 + .../editableCell/EnumListEditableCell.vue | 78 ++++++++++--------- .../editableCell/SetListEditableCell.vue | 11 ++- 3 files changed, 53 insertions(+), 37 deletions(-) diff --git a/packages/nc-gui/components/project/spreadsheet/components/EditableCell.vue b/packages/nc-gui/components/project/spreadsheet/components/EditableCell.vue index dd8e261652..31e88d48fc 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/EditableCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/EditableCell.vue @@ -83,6 +83,7 @@ v-else-if="isSet && (active || isForm) && !isLocked && !(isPublic && !isForm) && _isUIAllowed('tableRowUpdate')" v-model="localState" :column="column" + :is-form="isForm" v-on="parentListeners" /> diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell/EnumListEditableCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell/EnumListEditableCell.vue index b093083d7b..f536cecf81 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editableCell/EnumListEditableCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell/EnumListEditableCell.vue @@ -1,47 +1,45 @@