@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.
@@ -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;