diff --git a/packages/field/src/FormatMixin.js b/packages/field/src/FormatMixin.js
index c59bb2fa9..b532d0102 100644
--- a/packages/field/src/FormatMixin.js
+++ b/packages/field/src/FormatMixin.js
@@ -310,12 +310,16 @@ export const FormatMixin = dedupeMixin(
* `@user-input-changed` (this will happen later, when `formatOn` condition is met)
*/
_reflectBackFormattedValueToUser() {
- if (!this.__isHandlingUserInput) {
+ if (this._reflectBackOn()) {
// Text 'undefined' should not end up in
this.value = typeof this.formattedValue !== 'undefined' ? this.formattedValue : '';
}
}
+ _reflectBackOn() {
+ return !this.__isHandlingUserInput;
+ }
+
// This can be called whenever the view value should be updated. Dependent on component type
// ("input" for or "change" for
+
+
+ You can copy paste and it will become 4000 independent of your
+ locale.
+ If you write 4000,0 manually then it will become 4000 or 40000 dependent on your locale.
+