diff --git a/packages/nc-gui/utils/columnUtils.ts b/packages/nc-gui/utils/columnUtils.ts index 7d1f027f05..64e9206ae5 100644 --- a/packages/nc-gui/utils/columnUtils.ts +++ b/packages/nc-gui/utils/columnUtils.ts @@ -167,7 +167,7 @@ const getUIDTIcon = (uidt: UITypes | string) => { ).icon } -const isColumnRequired = (col: ColumnType) => col.rqd && (col.cdf === null || col.cdf === undefined ) && !col.ai +const isColumnRequired = (col: ColumnType) => col.rqd && !col.cdf && !col.ai const isColumnRequiredAndNull = (col: ColumnType, row: Record) => { return isColumnRequired(col) && (row[col.title!] === undefined || row[col.title!] === null)