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.
@@ -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
- obj[`${field}${key}`] = val;
903
+ if (val !== void 0) {
904
+ obj[`${field}${key}`] = val;
905
+ }
904
906
  }
905
907
  };
906
908
  const getDeepArrayPaths = (obj, basePath = "") => {