@fluxhub/fluxhub-lib 10.0.640 → 10.0.642

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,31 +7401,26 @@
7401
7401
  this.setByValue(desc_val);
7402
7402
  };
7403
7403
  FHComboboxComponent.prototype.update_dis = function () {
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
- }*/
7423
- }
7424
- catch (e) {
7425
- _this.dis_value = _this.selval;
7426
- //console.log("errore split -> this.valDef ", this.valDef);
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 = "";
7427
7418
  }
7428
- }, 100);
7419
+ }
7420
+ catch (e) {
7421
+ this.dis_value = this.selval;
7422
+ //console.log("errore split -> this.valDef ", this.valDef);
7423
+ }
7429
7424
  };
7430
7425
  FHComboboxComponent.prototype.resetValue = function () {
7431
7426
  this.selval = "-1";
@@ -7724,6 +7719,7 @@
7724
7719
  descrizione_valore: _this.getDescri(),
7725
7720
  });
7726
7721
  _this.update_dis();
7722
+ _this.dis_value = _this.getDescri();
7727
7723
  });
7728
7724
  };
7729
7725
  FHComboboxComponent.prototype.getModelValue = function () {