@fluxhub/fluxhub-lib 9.0.100 → 9.0.101
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 +5 -3
- 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/fhautocomplete.js +5 -4
- package/esm5/lib/controls/fhautocomplete.js +6 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +5 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/lib/controls/fhautocomplete.d.ts +1 -1
- package/package.json +1 -1
|
@@ -7078,10 +7078,12 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
7078
7078
|
FHAutoCompleteComponent.prototype.myListFormatter = function (data) {
|
|
7079
7079
|
return data['descrizione_valore'];
|
|
7080
7080
|
};
|
|
7081
|
-
FHAutoCompleteComponent.prototype.resetValue = function () {
|
|
7081
|
+
FHAutoCompleteComponent.prototype.resetValue = function (b_res_valdef) {
|
|
7082
|
+
if (b_res_valdef === void 0) { b_res_valdef = true; }
|
|
7082
7083
|
console.log('>>>resetValue<<<');
|
|
7083
7084
|
this.selval = '';
|
|
7084
|
-
|
|
7085
|
+
if (b_res_valdef)
|
|
7086
|
+
this.valDef = '';
|
|
7085
7087
|
this.sItem = '';
|
|
7086
7088
|
this.selval = null;
|
|
7087
7089
|
};
|
|
@@ -7195,7 +7197,7 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
7195
7197
|
}
|
|
7196
7198
|
}
|
|
7197
7199
|
if (!b_found && this.only_from_list)
|
|
7198
|
-
this.resetValue();
|
|
7200
|
+
this.resetValue(false);
|
|
7199
7201
|
}
|
|
7200
7202
|
if (!this.only_from_list) {
|
|
7201
7203
|
this.sItem = this.selval;
|