@juantroconisf/lib 3.1.0 → 3.1.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -196,7 +196,7 @@ function useFormChange({
|
|
|
196
196
|
value,
|
|
197
197
|
isTouched,
|
|
198
198
|
selectedValidations,
|
|
199
|
-
errorMessages[id]
|
|
199
|
+
errorMessages?.[id]
|
|
200
200
|
);
|
|
201
201
|
errors2.current = handleNestedChange({
|
|
202
202
|
state: errors2.current,
|
|
@@ -236,7 +236,7 @@ function useFormChange({
|
|
|
236
236
|
selectedKeys: state[id]
|
|
237
237
|
})
|
|
238
238
|
}),
|
|
239
|
-
[
|
|
239
|
+
[registerHandle]
|
|
240
240
|
),
|
|
241
241
|
hasInvalidValues: () => {
|
|
242
242
|
setTouched(allToValue(touched, true));
|
package/dist/index.mjs
CHANGED
|
@@ -177,7 +177,7 @@ function useFormChange({
|
|
|
177
177
|
value,
|
|
178
178
|
isTouched,
|
|
179
179
|
selectedValidations,
|
|
180
|
-
errorMessages[id]
|
|
180
|
+
errorMessages?.[id]
|
|
181
181
|
);
|
|
182
182
|
errors2.current = handleNestedChange({
|
|
183
183
|
state: errors2.current,
|
|
@@ -217,7 +217,7 @@ function useFormChange({
|
|
|
217
217
|
selectedKeys: state[id]
|
|
218
218
|
})
|
|
219
219
|
}),
|
|
220
|
-
[
|
|
220
|
+
[registerHandle]
|
|
221
221
|
),
|
|
222
222
|
hasInvalidValues: () => {
|
|
223
223
|
setTouched(allToValue(touched, true));
|