1
0
Fork 0
mirror of synced 2024-08-05 13:21:26 +12:00

Fix options not clearing when adding select-type columns

This commit is contained in:
Andrew Kingston 2024-06-10 13:59:35 +01:00
parent 4fb65373e0
commit 4cfa02f5d2

View file

@ -334,7 +334,7 @@
// Add in defaults and initial definition // Add in defaults and initial definition
const definition = fieldDefinitions[type?.toUpperCase()] const definition = fieldDefinitions[type?.toUpperCase()]
if (definition?.constraints) { if (definition?.constraints) {
editableColumn.constraints = definition.constraints editableColumn.constraints = cloneDeep(definition.constraints)
} }
editableColumn.type = definition.type editableColumn.type = definition.type