nox-validation 1.6.7 → 1.6.8

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.
Files changed (2) hide show
  1. package/lib/validate.js +1 -2
  2. package/package.json +1 -1
package/lib/validate.js CHANGED
@@ -456,8 +456,7 @@ const validateMetaRules = (
456
456
  // SEO interface: onlyFormFields, is empty in existingForm, getNodes, and not hidden
457
457
  (field?.meta?.interface === constants.interfaces.SEO &&
458
458
  !field?.meta?.hidden &&
459
- onlyFormFields &&
460
- isEmpty(getValue(existingForm, currentPath)) &&
459
+ (onlyFormFields ? isEmpty(getValue(existingForm, currentPath)) : true) &&
461
460
  getNodes)
462
461
  ) {
463
462
  getSelectedNodes({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nox-validation",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "description": "validate dynamic schema",
5
5
  "main": "index.js",
6
6
  "scripts": {