diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vue index 1a76886aa6..c28fb5ba7b 100644 --- a/packages/nc-gui/components/smartsheet/Cell.vue +++ b/packages/nc-gui/components/smartsheet/Cell.vue @@ -66,7 +66,7 @@ const column = toRef(props, 'column') const active = toRef(props, 'active', false) -const readOnly = toRef(props, 'readOnly', undefined) +const readOnly = toRef(props, 'readOnly', false) provide(ColumnInj, column) @@ -158,6 +158,7 @@ const onContextmenu = (e: MouseEvent) => { `nc-cell-${(column?.uidt || 'default').toLowerCase()}`, { 'text-blue-600': isPrimary(column) && !props.virtual && !isForm }, { 'nc-grid-numeric-cell': isGrid && !isForm && isNumericField }, + { 'h-[40px]': !props.editEnabled && isForm } ]" @keydown.enter.exact="syncAndNavigate(NavigateDir.NEXT, $event)" @keydown.shift.enter.exact="syncAndNavigate(NavigateDir.PREV, $event)"