1
0
Fork 0
mirror of synced 2024-07-30 02:26:11 +12:00

Don't validate empty options picker (#10302)

This commit is contained in:
melohagan 2023-05-05 07:50:01 +01:00 committed by GitHub
parent 303a029184
commit b790a1177e

View file

@ -69,9 +69,9 @@ export async function validate({
if (type === FieldTypes.FORMULA || column.autocolumn) {
continue
}
// special case for options, need to always allow unselected (null)
// special case for options, need to always allow unselected (empty)
if (type === FieldTypes.OPTIONS && constraints.inclusion) {
constraints.inclusion.push(null)
constraints.inclusion.push(null, "")
}
let res