@fluxhub/fluxhub-lib 9.0.69 → 9.0.70

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.
@@ -7116,13 +7116,17 @@
7116
7116
  this.selval = desc_val;
7117
7117
  if (this.myData != null) {
7118
7118
  for (var x in this.myData) {
7119
+ var b_found = false;
7119
7120
  if (this.myData[x]['valore'] == this.selval) {
7120
7121
  this.sItem = this.myData[x]['descrizione_valore'];
7121
7122
  if (this.sItem != null) {
7123
+ b_found = true;
7122
7124
  this.descri_val = this.sItem;
7123
7125
  }
7124
7126
  return;
7125
7127
  }
7128
+ if (!b_found && this.only_from_list)
7129
+ this.resetValue();
7126
7130
  }
7127
7131
  }
7128
7132
  if (!this.only_from_list) {