diff --git a/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue b/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue index 5f8b570e1f..2358ca6d79 100644 --- a/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue +++ b/packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue @@ -34,6 +34,8 @@ const active = inject(ActiveCellInj)! const readOnly = inject(ReadonlyInj, false) +const isForm = inject(IsFormInj, ref(false)) + const isLocked = inject(IsLockedInj) const { isUIAllowed } = useUIPermission() @@ -79,7 +81,7 @@ const unlinkRef = async (rec: Record) => {