@fluxhub/fluxhub-lib 10.0.163 → 10.0.165
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 -2
- 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/fhcurrencyfield.js +6 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +5 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8809,6 +8809,7 @@
|
|
|
8809
8809
|
}, 0);
|
|
8810
8810
|
};
|
|
8811
8811
|
FHCurrencyFieldComponent.prototype.writeValue = function (value) {
|
|
8812
|
+
console.log('inif ', value);
|
|
8812
8813
|
if (value == null)
|
|
8813
8814
|
value = 0;
|
|
8814
8815
|
if (value !== this.innerValue) {
|
|
@@ -8820,9 +8821,9 @@
|
|
|
8820
8821
|
}
|
|
8821
8822
|
this.innerValue = value;
|
|
8822
8823
|
this.value = value;
|
|
8823
|
-
|
|
8824
|
+
console.log('writeValue ini ', this.value, this.formattedAmount);
|
|
8824
8825
|
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
8825
|
-
|
|
8826
|
+
console.log('writeValue fin ', this.value, this.formattedAmount);
|
|
8826
8827
|
}
|
|
8827
8828
|
// this.onChange(this.value);
|
|
8828
8829
|
};
|
|
@@ -8843,7 +8844,9 @@
|
|
|
8843
8844
|
// else
|
|
8844
8845
|
// this.value = parseFloat(this.formattedAmount.split('.').join('').split(',').join('.'));
|
|
8845
8846
|
// this.writeValue(this.value);
|
|
8847
|
+
console.log('transformAmount ini ', _this.value, _this.formattedAmount);
|
|
8846
8848
|
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8849
|
+
console.log('transformAmount fin ', _this.value, _this.formattedAmount);
|
|
8847
8850
|
}, 0);
|
|
8848
8851
|
// Remove or comment this line if you dont want
|
|
8849
8852
|
// to show the formatted amount in the textbox.
|