@budibase/server 2.6.2 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,9 +102,9 @@ function validate({ tableId, row, table, }) {
102
102
  if (type === constants_1.FieldTypes.FORMULA || column.autocolumn) {
103
103
  continue;
104
104
  }
105
- // special case for options, need to always allow unselected (null)
105
+ // special case for options, need to always allow unselected (empty)
106
106
  if (type === constants_1.FieldTypes.OPTIONS && constraints.inclusion) {
107
- constraints.inclusion.push(null);
107
+ constraints.inclusion.push(null, "");
108
108
  }
109
109
  let res;
110
110
  // Validate.js doesn't seem to handle array