@bolttech/form-engine-core 1.0.0-beta.20 → 1.0.0-beta.21
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/index.esm.js +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4048,7 +4048,7 @@ class FormCore {
|
|
|
4048
4048
|
const metadata = {};
|
|
4049
4049
|
const erroredFields = [];
|
|
4050
4050
|
this.fields.forEach((val, key) => {
|
|
4051
|
-
if (typeof val.value === 'string' && val.value.length
|
|
4051
|
+
if (!(typeof val.value === 'string' && val.value.length === 0) && typeof val.value !== 'undefined' && val.value !== null) {
|
|
4052
4052
|
set(values, val.nameToSubmit || key, val.value);
|
|
4053
4053
|
metadata[key] = val.metadata;
|
|
4054
4054
|
}
|