apostrophe-schemas
Advanced tools
Comparing version 0.5.65 to 0.5.66
{ | ||
"version": "0.5.65", | ||
"version": "0.5.66", | ||
"name": "apostrophe-schemas", | ||
@@ -4,0 +4,0 @@ "description": "Schemas for easy editing of properties in Apostrophe objects", |
@@ -371,3 +371,5 @@ /* globals: async, apos, _, aposPages, async, $ */ | ||
data[name] = values; | ||
if (field.required && !data[name]) { | ||
// For this type 'required' means you must check | ||
// at least one of the boxes | ||
if (field.required && (!data[name].length)) { | ||
return apos.afterYield(_.partial(callback, 'required')); | ||
@@ -374,0 +376,0 @@ } |
114006
1581