@eqproject/eqp-dynamic-module 2.10.42 → 2.10.43
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/esm2020/lib/components/private/dbg-templates/list-value-dbg-template/list-value-dbg-template.component.mjs +4 -1
- package/esm2020/lib/components/private/dbgetter/dbgetter.component.mjs +4 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +6 -0
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +6 -0
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5918,6 +5918,9 @@ class DbgetterComponent {
|
|
|
5918
5918
|
}
|
|
5919
5919
|
else {
|
|
5920
5920
|
GlobalService.debugLog("ho multiselect");
|
|
5921
|
+
if (this.selectedElements != null && !Array.isArray(this.selectedElements)) {
|
|
5922
|
+
this.selectedElements = [this.selectedElements];
|
|
5923
|
+
}
|
|
5921
5924
|
if (this.selectedElements == null) {
|
|
5922
5925
|
this.selectedElements = new Array();
|
|
5923
5926
|
}
|
|
@@ -6189,6 +6192,9 @@ class ListValueDbgTemplateComponent {
|
|
|
6189
6192
|
}
|
|
6190
6193
|
ngOnInit() {
|
|
6191
6194
|
if (this.record[this.field.Name] != null) {
|
|
6195
|
+
if (!Array.isArray(this.record[this.field.Name])) {
|
|
6196
|
+
this.record[this.field.Name] = [this.record[this.field.Name]];
|
|
6197
|
+
}
|
|
6192
6198
|
this.record[this.field.Name].forEach(element => {
|
|
6193
6199
|
var pushElement = new ListValueElement();
|
|
6194
6200
|
pushElement.ID = element.ID;
|