remix-validated-form 4.6.3 → 4.6.4
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/.turbo/turbo-build.log +7 -7
- package/browser/internal/flatten.js +1 -1
- package/browser/internal/hooks.js +1 -1
- package/browser/internal/state/arrayUtil.js +16 -2
- package/browser/internal/state/createFormStore.js +1 -1
- package/dist/remix-validated-form.cjs.js +1 -1
- package/dist/remix-validated-form.cjs.js.map +1 -1
- package/dist/remix-validated-form.es.js +3 -1
- package/dist/remix-validated-form.es.js.map +1 -1
- package/dist/remix-validated-form.umd.js +1 -1
- package/dist/remix-validated-form.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/internal/state/arrayUtil.ts +16 -1
- package/stats.html +1 -1
@@ -900,7 +900,9 @@ const mutateAsArray = (field, obj, mutate) => {
|
|
900
900
|
const newKeys = getDeepArrayPaths(arr);
|
901
901
|
for (const key of newKeys) {
|
902
902
|
const val = getPath(arr, key);
|
903
|
-
|
903
|
+
if (val !== void 0) {
|
904
|
+
obj[`${field}${key}`] = val;
|
905
|
+
}
|
904
906
|
}
|
905
907
|
};
|
906
908
|
const getDeepArrayPaths = (obj, basePath = "") => {
|