react-validation-provider
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -148,4 +148,6 @@ 'use strict'; | ||
if (this.isValid && onFailed) { | ||
onFailed(); | ||
if (!this.isValid && onFailed) { | ||
onFailed(this.components.filter(function (c) { | ||
return !c.valid; | ||
})); | ||
} | ||
@@ -152,0 +154,0 @@ |
{ | ||
"name": "react-validation-provider", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "React validation component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
44685
816