@fluxhub/fluxhub-lib 10.0.29 → 10.0.31
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +14 -4
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhcombobox.js +8 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -6805,12 +6805,22 @@
|
|
|
6805
6805
|
FHComboboxComponent.prototype.set_options = function (s) {
|
|
6806
6806
|
this.myData = new Array();
|
|
6807
6807
|
var a = s.split("$");
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6808
|
+
var _loop_1 = function (i) {
|
|
6809
|
+
o = new Object();
|
|
6810
|
+
av = a[i].split("|");
|
|
6811
6811
|
o.valore = av[1];
|
|
6812
6812
|
o.descrizione_valore = av[0];
|
|
6813
|
-
|
|
6813
|
+
var b_found = false;
|
|
6814
|
+
this_1.myData.map(function (v) {
|
|
6815
|
+
if (v.descrizione_valore == o.descrizione_valore || v.valore == o.valore)
|
|
6816
|
+
b_found = true;
|
|
6817
|
+
});
|
|
6818
|
+
if (!b_found)
|
|
6819
|
+
this_1.myData.push(o);
|
|
6820
|
+
};
|
|
6821
|
+
var this_1 = this, o, av;
|
|
6822
|
+
for (var i = 0; i < a.length; i++) {
|
|
6823
|
+
_loop_1(i);
|
|
6814
6824
|
}
|
|
6815
6825
|
this.setByValue(this.valDef);
|
|
6816
6826
|
if (this.getValue() == "-1")
|