@eturnity/eturnity_reusable_components 1.1.95 → 1.1.96
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
|
@@ -341,22 +341,20 @@ export default {
|
|
|
341
341
|
: this.minNumber || this.minNumber === 0
|
|
342
342
|
? this.minNumber
|
|
343
343
|
: ""
|
|
344
|
-
if ((adjustedMinValue || adjustedMinValue === 0) && !this.isFocused
|
|
345
|
-
let input = numberToString({
|
|
344
|
+
if ((adjustedMinValue || adjustedMinValue === 0) && !this.isFocused) {
|
|
345
|
+
let input = this.numberToStringEnabled ? numberToString({
|
|
346
346
|
value: adjustedMinValue,
|
|
347
347
|
numberPrecision: this.numberPrecision,
|
|
348
|
-
})
|
|
348
|
+
}) : adjustedMinValue
|
|
349
349
|
let unit = this.showLinearUnitName ? "" : this.unitName
|
|
350
350
|
return input + " " + unit
|
|
351
351
|
} else if (!adjustedMinValue && adjustedMinValue !== 0) {
|
|
352
352
|
return ""
|
|
353
|
-
} else
|
|
354
|
-
return numberToString({
|
|
353
|
+
} else {
|
|
354
|
+
return this.numberToStringEnabled ? numberToString({
|
|
355
355
|
value: adjustedMinValue,
|
|
356
356
|
numberPrecision: this.numberPrecision,
|
|
357
|
-
})
|
|
358
|
-
} else {
|
|
359
|
-
return adjustedMinValue
|
|
357
|
+
}) : adjustedMinValue
|
|
360
358
|
}
|
|
361
359
|
},
|
|
362
360
|
},
|