@eturnity/eturnity_reusable_components 7.45.5-qa-16-11.13.1 → 7.45.5-qa-16-11.13.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.45.5-qa-16-11.13.1",
3
+ "version": "7.45.5-qa-16-11.13.2",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -556,9 +556,9 @@
556
556
  return item ? item.label : '-'
557
557
  },
558
558
  formattedValue() {
559
- return this.formatWithCurrency(
560
- this.isFocused ? this.enteredValue : this.inputValue
561
- )
559
+ return this.isFocused
560
+ ? this.enteredValue
561
+ : this.formatWithCurrency(this.inputValue)
562
562
  },
563
563
  hasLength() {
564
564
  return this.formattedValue !== null && this.formattedValue.length > 0
@@ -737,9 +737,11 @@
737
737
  return input + ' ' + unit
738
738
  } else if (!adjustedMinValue && adjustedMinValue !== 0) {
739
739
  return ''
740
- } else if (this.isFocused && this.numberPrecision > 0) {
740
+ } else if (this.isFocused) {
741
+ console.log('1')
741
742
  return value
742
743
  } else {
744
+ console.log('hehe', this.numberToStringEnabled)
743
745
  return this.numberToStringEnabled
744
746
  ? numberToString({
745
747
  value: adjustedMinValue,