diff --git a/packages/nc-gui/components/virtual-cell/components/ListItems.vue b/packages/nc-gui/components/virtual-cell/components/ListItems.vue index f126e2af15..9d924e1306 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListItems.vue @@ -95,6 +95,12 @@ const newRowState = computed(() => { } } }) + +// if it's an existing record close the list +// after new record creation since it's already linking while creating +watch(expandedFormDlg, (nexVal) => { + if (!nexVal && !isNew.value) vModel.value = false +})