From e79adce2fe48344e04bc68ca14ef6187e4dcff0c Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Tue, 7 Nov 2023 07:17:38 +0000 Subject: [PATCH] fix: Fixed issue with field dropdown --- packages/nc-gui/components/nc/Dropdown.vue | 10 +++++++++- .../nc-gui/components/smartsheet/details/Fields.vue | 9 ++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/packages/nc-gui/components/nc/Dropdown.vue b/packages/nc-gui/components/nc/Dropdown.vue index e1909ee982..7118f0b53b 100644 --- a/packages/nc-gui/components/nc/Dropdown.vue +++ b/packages/nc-gui/components/nc/Dropdown.vue @@ -47,6 +47,14 @@ onClickOutside(overlayWrapperDomRef, () => { visible.value = false }) + +const onVisibleUpdate = (event: any) => { + if (visible !== undefined) { + visible.value = event + } else { + emits('update:visible', event) + } +}