mobx-input
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -122,2 +122,11 @@ "use strict"; | ||
return function (val) { | ||
// Let's support ad-hoc validation of objects | ||
if (val && typeof val === 'object') { | ||
if (Object.keys(val).length) { | ||
val = JSON.stringify(val); | ||
} | ||
else { | ||
val = undefined; | ||
} | ||
} | ||
var result = true; | ||
@@ -124,0 +133,0 @@ rules.forEach(function (rule) { |
{ | ||
"name": "mobx-input", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Form library for MobX, with observable state and validations", | ||
@@ -5,0 +5,0 @@ "main": "lib/mobx-input.js", |
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
18760
238