diff --git a/packages/nc-gui/components/virtual-cell/Lookup.vue b/packages/nc-gui/components/virtual-cell/Lookup.vue index a986986e0e..bfd742f8a6 100644 --- a/packages/nc-gui/components/virtual-cell/Lookup.vue +++ b/packages/nc-gui/components/virtual-cell/Lookup.vue @@ -19,8 +19,6 @@ import { const { metas, getMeta } = useMetas() -provide(ReadonlyInj, ref(true)) - const column = inject(ColumnInj, ref()) const meta = inject(MetaInj, ref()) @@ -94,10 +92,12 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning, activ :edit-enabled="false" :model-value="v" :column="lookupColumn" + :readOnly="true" /> - + @@ -106,7 +106,8 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning, activ v-if="isAttachment(lookupColumn) && arrValue[0] && !Array.isArray(arrValue[0]) && typeof arrValue[0] === 'object'" class="min-w-max" > - +