@visns-studio/visns-components 2.4.8 → 2.4.9

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.
@@ -163,12 +163,7 @@ function Form(props) {
163
163
 
164
164
  Object.keys(inputValue).forEach((a) => {
165
165
  if (formData.hasOwnProperty(a)) {
166
- updateFormData((prevState) => ({
167
- [a]:
168
- prevState && prevState[a] !== ''
169
- ? prevState[a]
170
- : inputValue[a],
171
- }));
166
+ updateFormData({ [a]: inputValue[a] });
172
167
  }
173
168
  });
174
169
 
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "react-dom": "^17.0.1"
43
43
  },
44
44
  "name": "@visns-studio/visns-components",
45
- "version": "2.4.8",
45
+ "version": "2.4.9",
46
46
  "description": "Various packages to assist in the development of our Custom Applications.",
47
47
  "main": "index.js",
48
48
  "scripts": {