@visns-studio/visns-components 5.0.17 → 5.0.18

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/package.json CHANGED
@@ -75,7 +75,7 @@
75
75
  "react-dom": "^17.0.0 || ^18.0.0"
76
76
  },
77
77
  "name": "@visns-studio/visns-components",
78
- "version": "5.0.17",
78
+ "version": "5.0.18",
79
79
  "description": "Various packages to assist in the development of our Custom Applications.",
80
80
  "main": "src/index.js",
81
81
  "files": [
@@ -871,7 +871,9 @@ function Form({
871
871
  _formData[id] =
872
872
  newValue instanceof Date
873
873
  ? newValue
874
- : moment(newValue).toDate();
874
+ : newValue !== undefined
875
+ ? moment(newValue).toDate()
876
+ : '';
875
877
  } else {
876
878
  _formData[id] = newValue;
877
879
  }