apostrophe-schemas
Advanced tools
Comparing version 0.5.1 to 0.5.2
{ | ||
"version": "0.5.2", | ||
"name": "apostrophe-schemas", | ||
"version": "0.5.1", | ||
"description": "Schemas for easy editing of properties in Apostrophe objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -169,3 +169,3 @@ function AposSchemas() { | ||
// server side validation at this point. | ||
if (field.required && (data[name] === '[]')) { | ||
if (field.required && ((data[name] === '[]') || (data[name] === '[{"type":"richText","content":""}]'))) { | ||
return 'required'; | ||
@@ -176,3 +176,3 @@ } | ||
data[name] = self.getSingletonJSON($el, name); | ||
if (field.required && (data[name] === '[]')) { | ||
if (field.required && ((data[name] === '[]') || (data[name] === '[{"type":"richText","content":""}]'))) { | ||
return 'required'; | ||
@@ -179,0 +179,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70958