@fluxhub/fluxhub-lib 10.0.70 → 10.0.72
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 +13 -7
- 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 +14 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +13 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8672,17 +8672,23 @@
|
|
|
8672
8672
|
FHCurrencyFieldComponent.prototype.chg = function () {
|
|
8673
8673
|
var _this = this;
|
|
8674
8674
|
setTimeout(function () {
|
|
8675
|
-
console.log(_this.formattedAmount.split(".").join("").split(",").join(""), parseFloat(_this.formattedAmount.split(".").join("").split(",").join(""))
|
|
8675
|
+
console.log(_this.formattedAmount.split(".").join("").split(",").join(""), parseFloat(_this.formattedAmount.split(".").join("").split(",").join("")));
|
|
8676
8676
|
if (_this.decimal == 0)
|
|
8677
8677
|
_this.value = parseFloat(_this.formattedAmount.split(".").join("").split(",").join(""));
|
|
8678
8678
|
else
|
|
8679
8679
|
_this.value = parseFloat(_this.formattedAmount.split(".").join("").split(",").join("."));
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8680
|
+
console.log('VALUE: ', _this.value);
|
|
8681
|
+
/*
|
|
8682
|
+
if (typeof this.value == "string") {
|
|
8683
|
+
if (this.decimal == 0)
|
|
8684
|
+
this.value = parseFloat(
|
|
8685
|
+
this.value.split(".").join("").split(",").join("")
|
|
8686
|
+
);
|
|
8687
|
+
else
|
|
8688
|
+
this.value = parseFloat(
|
|
8689
|
+
this.value.split(".").join("").split(",").join(".")
|
|
8690
|
+
);
|
|
8691
|
+
}*/
|
|
8686
8692
|
if (isNaN(_this.value)) {
|
|
8687
8693
|
console.log('this.value ', _this.value);
|
|
8688
8694
|
_this.value = 0;
|