diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vue index ca0b694396..6e91cec0ab 100644 --- a/packages/nc-gui/components/smartsheet/Cell.vue +++ b/packages/nc-gui/components/smartsheet/Cell.vue @@ -232,8 +232,8 @@ onUnmounted(() => {
diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 100719df37..fac496b06a 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -572,7 +572,7 @@ async function clearCell(ctx: { row: number; col: number } | null, skipUpdate = } function makeEditable(row: Row, col: ColumnType) { - if (!hasEditPermission || editEnabled || isView) { + if (!hasEditPermission || editEnabled || isView || isLocked.value || readOnly.value) { return }