@altiore/form
Advanced tools
Comparing version 0.3.17 to 0.3.18
@@ -14,5 +14,5 @@ import { useCallback, useEffect, useState } from 'react'; | ||
validators.forEach(function (validate) { | ||
var error = validate.validate(value_1).error; | ||
if (error) { | ||
errors_1.push(error.message); | ||
var result = validate.validate(value_1); | ||
if (result === null || result === void 0 ? void 0 : result.error) { | ||
errors_1.push(result.error.message); | ||
} | ||
@@ -19,0 +19,0 @@ }); |
{ | ||
"name": "@altiore/form", | ||
"version": "0.3.17", | ||
"version": "0.3.18", | ||
"description": "Form helper for building powerful forms", | ||
@@ -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
50312