calidation
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -76,3 +76,7 @@ 'use strict'; | ||
}, _this.onChange = function (e) { | ||
if (!_this.state.config[e.target.name]) { | ||
return; | ||
} | ||
var value = e.target.type === 'checkbox' ? e.target.checked : e.target.value; | ||
var fields = _extends({}, _this.state.fields, _defineProperty({}, e.target.name, value)); | ||
@@ -79,0 +83,0 @@ var errors = _this.validate(fields, _this.state.config); |
{ | ||
"name": "calidation", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "A red hot validation library for React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.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
39510
413