react-formr
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -95,4 +95,6 @@ var __assign = (this && this.__assign) || function () { | ||
value: values[key], | ||
touched: touched[key], | ||
valid: valid[key], | ||
}; | ||
}, [onHandleChange, onHandleBlur, values]); | ||
}, [onHandleChange, onHandleBlur, values, touched, valid]); | ||
var returnItem = { | ||
@@ -99,0 +101,0 @@ onHandleChange: onHandleChange, |
@@ -33,2 +33,4 @@ export interface FormMessages { | ||
value: string; | ||
valid: boolean; | ||
touched: boolean; | ||
} | ||
@@ -35,0 +37,0 @@ export interface FormrFunctions { |
{ | ||
"name": "react-formr", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Form managing component for React & React Native", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -108,5 +108,7 @@ import React, { useRef, useState, useCallback, useEffect } from "react"; | ||
value: values[key], | ||
touched: touched[key], | ||
valid: valid[key], | ||
}; | ||
}, | ||
[onHandleChange, onHandleBlur, values] | ||
[onHandleChange, onHandleBlur, values, touched, valid] | ||
); | ||
@@ -113,0 +115,0 @@ |
@@ -34,2 +34,4 @@ export interface FormMessages { | ||
value: string; | ||
valid: boolean; | ||
touched: boolean; | ||
} | ||
@@ -36,0 +38,0 @@ export interface FormrFunctions { |
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
26435
503