@fluxhub/fluxhub-lib 9.0.151 → 9.0.152

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.
@@ -8751,7 +8751,7 @@
8751
8751
  };
8752
8752
  FHAutoCompleteComponent.prototype.resetValue = function (b_res_valdef) {
8753
8753
  if (b_res_valdef === void 0) { b_res_valdef = true; }
8754
- console.log(">>>resetValue<<<");
8754
+ //console.log(">>>resetValue<<<");
8755
8755
  this.selval = "";
8756
8756
  if (b_res_valdef)
8757
8757
  this.valDef = "";
@@ -8759,7 +8759,7 @@
8759
8759
  this.selval = null;
8760
8760
  };
8761
8761
  FHAutoCompleteComponent.prototype.reset = function () {
8762
- console.log(">>>reset<<<");
8762
+ //console.log(">>>reset<<<");
8763
8763
  this.selval = "";
8764
8764
  this.valDef = "";
8765
8765
  this.selval = null;
@@ -8823,6 +8823,7 @@
8823
8823
  }
8824
8824
  };
8825
8825
  FHAutoCompleteComponent.prototype.setByDescri = function (desc_val) {
8826
+ // console.log('setByDescri ',desc_val);
8826
8827
  this.valDef = desc_val;
8827
8828
  this.selval = "";
8828
8829
  if (desc_val == "") {
@@ -8848,8 +8849,13 @@
8848
8849
  this.sItem = desc_val;
8849
8850
  }
8850
8851
  };
8852
+ FHAutoCompleteComponent.prototype.last_val_rec = function () {
8853
+ this.setByValue(this.last_v);
8854
+ };
8851
8855
  FHAutoCompleteComponent.prototype.setByValue = function (desc_val) {
8852
8856
  var _this = this;
8857
+ //console.log('setByValue ',desc_val);
8858
+ this.last_v = desc_val;
8853
8859
  this.valDef = desc_val;
8854
8860
  this.selval = desc_val;
8855
8861
  if (this.myData != null) {
@@ -8868,7 +8874,7 @@
8868
8874
  this.resetValue(false);
8869
8875
  }
8870
8876
  else {
8871
- setTimeout(function () { _this.setByValue(desc_val); }, 1000);
8877
+ setTimeout(function () { _this.last_val_rec(); }, 1000);
8872
8878
  return;
8873
8879
  }
8874
8880
  if (!this.only_from_list) {