@bolttech/form-engine-core 0.0.3-beta.7 → 0.0.3-beta.8
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 +2 -4
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -3293,10 +3293,8 @@ class FormCore {
|
|
|
3293
3293
|
}
|
|
3294
3294
|
const fieldProp = field[property];
|
|
3295
3295
|
let propState;
|
|
3296
|
-
if (Array.isArray(fieldProp)) {
|
|
3297
|
-
propState =
|
|
3298
|
-
} else if (typeof fieldProp === 'object' && !isNil(fieldProp)) {
|
|
3299
|
-
propState = Object.assign({}, fieldProp);
|
|
3296
|
+
if (Array.isArray(fieldProp) || typeof fieldProp === 'object' && !isNil(fieldProp)) {
|
|
3297
|
+
propState = cloneDeep(fieldProp);
|
|
3300
3298
|
} else {
|
|
3301
3299
|
this.config.defaultLogVerbose && console.warn(`invalid template property, skipping evaluation of ${field.name} with ${fieldProp}`);
|
|
3302
3300
|
return;
|