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
1 changed files with 1 additions and 1 deletions

View File

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