diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue
index 001ae68863..48707212be 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue
@@ -18,6 +18,7 @@
:column="column"
:is-public-grid="isPublic && !isForm"
:is-public-form="isPublic && isForm"
+ :is-locked="isLocked"
v-on="$listeners"
/>
diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue
index 7f0bb706ff..b7e405806d 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue
@@ -18,7 +18,8 @@
-
-
-
+
mdi-loading mdi-spin
@@ -90,7 +91,6 @@
-
* @author Pranav C Balan
+ * @author Wing-Kam Wong
*
* @license GNU AGPL version 3 or any later version
*
diff --git a/packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue b/packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue
index ea54deb7a5..06a9cc73a2 100644
--- a/packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue
+++ b/packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue
@@ -151,6 +151,7 @@
:meta="meta"
:sql-ui="sqlUi"
:is-form="true"
+ :is-locked="isLocked"
@focus="active = col._cn"
@blur="active = ''"
@input="$set(changedColumns,col._cn, true)"
@@ -305,7 +306,8 @@ export default {
availableColumns: [Object, Array],
queryParams: Object,
meta: Object,
- presetValues: Object
+ presetValues: Object,
+ isLocked: Boolean,
},
data: () => ({
showborder: false,
diff --git a/packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue b/packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue
index 0233fd07b3..22de323c49 100644
--- a/packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue
+++ b/packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue
@@ -340,6 +340,7 @@
:sql-ui="sqlUi"
:primary-value-column="primaryValueColumn"
:cover-image-field="coverImageField"
+ :is-locked="isLocked"
@expandForm="({rowIndex,rowMeta}) => expandRow(rowIndex,rowMeta)"
/>
@@ -606,6 +607,7 @@
:query-params="queryParams"
:show-next-prev="false"
:preset-values="presetValues"
+ :is-locked="isLocked"
@cancel="showExpandModal = false;"
@input="showExpandModal = false; (kanban.selectedExpandRow && kanban.selectedExpandRow.rowMeta && delete kanban.selectedExpandRow.rowMeta.new) ; loadKanbanData(false)"
@commented="reloadComments"
@@ -632,6 +634,7 @@
:query-params="queryParams"
:show-next-prev="true"
:preset-values="presetValues"
+ :is-locked="isLocked"
@cancel="showExpandModal = false;"
@input="showExpandModal = false; (data[selectedExpandRowIndex] && data[selectedExpandRowIndex].rowMeta && delete data[selectedExpandRowIndex].rowMeta.new) ; loadTableData()"
@commented="reloadComments"
diff --git a/packages/nc-gui/components/project/spreadsheet/views/galleryView.vue b/packages/nc-gui/components/project/spreadsheet/views/galleryView.vue
index bbf2136fad..e545d5e362 100644
--- a/packages/nc-gui/components/project/spreadsheet/views/galleryView.vue
+++ b/packages/nc-gui/components/project/spreadsheet/views/galleryView.vue
@@ -10,7 +10,7 @@
@@ -108,7 +109,8 @@ export default {
'primaryValueColumn',
'showSystemFields',
'sqlUi',
- 'coverImageField'
+ 'coverImageField',
+ 'isLocked'
],
computed: {
attachmentColumn() {