@juantroconisf/lib 3.6.1 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -347,7 +347,7 @@ function useForm(initialState, { validations, errorMessages } = {}) {
|
|
|
347
347
|
errorMessage: isTouched ? inputError.errorMessage : ""
|
|
348
348
|
};
|
|
349
349
|
},
|
|
350
|
-
[errors2
|
|
350
|
+
[errors2, touched]
|
|
351
351
|
);
|
|
352
352
|
const onBlur = (id) => setTouched(
|
|
353
353
|
(prev) => handleNestedChange({
|
package/dist/index.mjs
CHANGED
|
@@ -327,7 +327,7 @@ function useForm(initialState, { validations, errorMessages } = {}) {
|
|
|
327
327
|
errorMessage: isTouched ? inputError.errorMessage : ""
|
|
328
328
|
};
|
|
329
329
|
},
|
|
330
|
-
[errors2
|
|
330
|
+
[errors2, touched]
|
|
331
331
|
);
|
|
332
332
|
const onBlur = (id) => setTouched(
|
|
333
333
|
(prev) => handleNestedChange({
|