mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 12:46:57 +00:00
fix: skip default value setting for attachment
This commit is contained in:
@@ -150,7 +150,9 @@ export const rowDefaultData = (columns: ColumnType[] = []) => {
|
||||
if (
|
||||
!isSystemColumn(col) &&
|
||||
!isVirtualCol(col) &&
|
||||
![UITypes.Rollup, UITypes.Lookup, UITypes.Formula, UITypes.Barcode, UITypes.QrCode].includes(col.uidt) &&
|
||||
![UITypes.Attachment, UITypes.Rollup, UITypes.Lookup, UITypes.Formula, UITypes.Barcode, UITypes.QrCode].includes(
|
||||
col.uidt,
|
||||
) &&
|
||||
isValidValue(col?.cdf) &&
|
||||
!/^\w+\(\)|CURRENT_TIMESTAMP$/.test(col.cdf)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user