diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue
index 5db588e070..99a26e65a2 100644
--- a/packages/nc-gui/components/cell/MultiSelect.vue
+++ b/packages/nc-gui/components/cell/MultiSelect.vue
@@ -1,10 +1,12 @@
-
+
-import { onBeforeUnmount, onMounted, ref, useSmartsheetStoreOrThrow } from '#imports'
+import { CellClickHookInj, createEventHook, onBeforeUnmount, onMounted, ref, useSmartsheetStoreOrThrow } from '#imports'
const { cellRefs } = useSmartsheetStoreOrThrow()
const el = ref()
+const cellClickHook = createEventHook()
+
+provide(CellClickHookInj, cellClickHook)
+
onMounted(() => {
cellRefs.value.push(el.value!)
})
@@ -18,7 +22,7 @@ onBeforeUnmount(() => {
-
+ |
|
diff --git a/packages/nc-gui/context/index.ts b/packages/nc-gui/context/index.ts
index 83bd827ecd..1b7a53e790 100644
--- a/packages/nc-gui/context/index.ts
+++ b/packages/nc-gui/context/index.ts
@@ -32,3 +32,4 @@ export const SharedViewPasswordInj: InjectionKey[> = Symbol('s
export const CellUrlDisableOverlayInj: InjectionKey][> = Symbol('cell-url-disable-url')
export const DropZoneRef: InjectionKey][> = Symbol('drop-zone-ref')
export const ToggleDialogInj: InjectionKey = Symbol('toggle-dialog-injection')
+export const CellClickHookInj: InjectionKey | undefined> = Symbol('cell-click-injection')
]