@esfaenza/forms-and-validations 11.2.117 → 11.2.119

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.
@@ -3671,6 +3671,8 @@
3671
3671
  this.propagateChange(val ? val.id : value);
3672
3672
  this.Model = val ? val.description : value;
3673
3673
  this.EvaluatedModel = this.Model;
3674
+ // TEST
3675
+ this.cdr.detectChanges();
3674
3676
  };
3675
3677
  /**
3676
3678
  * Quando viene scritto un nuovo valore bisogna controllare se per botta di culo fosse un id, in tal caso dev'essere rieffettuato il bind
@@ -3770,7 +3772,7 @@
3770
3772
  if (forcedValue == "" && this.Multi)
3771
3773
  this.Model = "";
3772
3774
  var selecteds = forcedValue ? [forcedValue] : this.Model ? (this.Model.Multi ? this.Model.split(',') : [this.Model]) : [];
3773
- this.EvaluatedModel = selecteds.map(function (t) { var _a; return _this.BoundSource && _this.BoundSource.length > 0 ? (_a = _this.BoundSource.find(function (t) { return t.id == _this.Model; })) === null || _a === void 0 ? void 0 : _a.description : ""; }).join(', ');
3775
+ this.EvaluatedModel = selecteds.map(function (s) { var _a; return _this.BoundSource && _this.BoundSource.length > 0 ? (_a = _this.BoundSource.find(function (t) { return t.id == s; })) === null || _a === void 0 ? void 0 : _a.description : ""; }).join(', ');
3774
3776
  _super.prototype.changed.call(this, forcedValue, markForCheck);
3775
3777
  };
3776
3778
  /** @ignore */