@fluxhub/fluxhub-lib 10.0.639 → 10.0.640

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.
@@ -7401,26 +7401,31 @@
7401
7401
  this.setByValue(desc_val);
7402
7402
  };
7403
7403
  FHComboboxComponent.prototype.update_dis = function () {
7404
- this.dis_value = "";
7405
- try {
7406
- if (this.descri_val != null)
7407
- if (this.descri_val != "") {
7408
- this.dis_value = this._tsr.instant(this.descri_val);
7409
- return;
7410
- }
7411
- if (this.valDef == null)
7412
- this.dis_value = "";
7413
- else {
7414
- if (this.valDef.split("-1").join("") != '')
7415
- this.dis_value = this._tsr.instant(this.valDef.split("-1").join(""));
7416
- else
7417
- this.dis_value = "";
7404
+ var _this = this;
7405
+ setTimeout(function () {
7406
+ _this.dis_value = "";
7407
+ try {
7408
+ _this.descri_val = _this.getDescri();
7409
+ /* if (this.descri_val != null)
7410
+ if (this.descri_val != "") {
7411
+ this.dis_value = this._tsr.instant(this.descri_val);
7412
+
7413
+ return;
7414
+ }
7415
+ if (this.valDef == null) this.dis_value = "";
7416
+ else {
7417
+ if(this.valDef.split("-1").join("")!='')
7418
+ this.dis_value = this._tsr.instant(this.valDef.split("-1").join(""));
7419
+ else
7420
+ this.dis_value = "";
7421
+
7422
+ }*/
7418
7423
  }
7419
- }
7420
- catch (e) {
7421
- this.dis_value = this.descri_val;
7422
- //console.log("errore split -> this.valDef ", this.valDef);
7423
- }
7424
+ catch (e) {
7425
+ _this.dis_value = _this.selval;
7426
+ //console.log("errore split -> this.valDef ", this.valDef);
7427
+ }
7428
+ }, 100);
7424
7429
  };
7425
7430
  FHComboboxComponent.prototype.resetValue = function () {
7426
7431
  this.selval = "-1";