@formio/js 5.0.0-dev.5634.e1468ca → 5.0.0-dev.5636.99a32e6
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/dist/formio.builder.css +0 -4
- package/dist/formio.builder.min.css +1 -1
- package/dist/formio.form.css +0 -4
- package/dist/formio.form.min.css +1 -1
- package/dist/formio.full.css +0 -4
- package/dist/formio.full.js +1 -1
- package/dist/formio.full.min.css +1 -1
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/WebformBuilder.js +1 -6
- package/lib/mjs/WebformBuilder.js +1 -6
- package/package.json +1 -1
|
@@ -987,12 +987,7 @@ class WebformBuilder extends Component_1.default {
|
|
|
987
987
|
parent.formioComponent.removeChildComponent(component);
|
|
988
988
|
}
|
|
989
989
|
if (component.input && componentInstance && componentInstance.parent) {
|
|
990
|
-
|
|
991
|
-
parent.formioComponent.component.defaultValue.forEach(v => lodash_1.default.unset(v, componentInstance.key));
|
|
992
|
-
}
|
|
993
|
-
else if (typeof parent.formioComponent.component.defaultValue === 'object') {
|
|
994
|
-
lodash_1.default.unset(parent.formioComponent.component.defaultValue, componentInstance.key);
|
|
995
|
-
}
|
|
990
|
+
lodash_1.default.unset(componentInstance._data, componentInstance.key);
|
|
996
991
|
}
|
|
997
992
|
const rebuild = parent.formioComponent.rebuild() || Promise.resolve();
|
|
998
993
|
rebuild.then(() => {
|
|
@@ -971,12 +971,7 @@ export default class WebformBuilder extends Component {
|
|
|
971
971
|
parent.formioComponent.removeChildComponent(component);
|
|
972
972
|
}
|
|
973
973
|
if (component.input && componentInstance && componentInstance.parent) {
|
|
974
|
-
|
|
975
|
-
parent.formioComponent.component.defaultValue.forEach(v => _.unset(v, componentInstance.key));
|
|
976
|
-
}
|
|
977
|
-
else if (typeof parent.formioComponent.component.defaultValue === 'object') {
|
|
978
|
-
_.unset(parent.formioComponent.component.defaultValue, componentInstance.key);
|
|
979
|
-
}
|
|
974
|
+
_.unset(componentInstance._data, componentInstance.key);
|
|
980
975
|
}
|
|
981
976
|
const rebuild = parent.formioComponent.rebuild() || Promise.resolve();
|
|
982
977
|
rebuild.then(() => {
|