diff --git a/packages/nc-gui/composables/useExpandedFormStore.ts b/packages/nc-gui/composables/useExpandedFormStore.ts
index bbb1e4efe8..9fd9dba43e 100644
--- a/packages/nc-gui/composables/useExpandedFormStore.ts
+++ b/packages/nc-gui/composables/useExpandedFormStore.ts
@@ -44,14 +44,21 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
const changedColumns = ref(new Set())
const { base } = storeToRefs(useBase())
- const row = ref(_row.value.rowMeta.new ? _row.value : ({ row: {}, oldRow: {}, rowMeta: {} } as Row))
+
+ const { sharedView } = useSharedView()
+
+ const row = ref(
+ sharedView.value?.type === ViewTypes.GALLERY || sharedView.value?.type === ViewTypes.KANBAN
+ ? _row.value
+ : _row.value.rowMeta.new
+ ? _row.value
+ : ({ row: {}, oldRow: {}, rowMeta: {} } as Row),
+ )
const rowStore = useProvideSmartsheetRowStore(meta, row)
const activeView = inject(ActiveViewInj, ref())
- const { sharedView } = useSharedView()
-
const { addUndo, clone, defineViewScope } = useUndoRedo()
const reloadTrigger = inject(ReloadRowDataHookInj, createEventHook())