@lion/field
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.6.4](https://github.com/ing-bank/lion/compare/@lion/field@0.6.3...@lion/field@0.6.4) (2019-11-28) | ||
### Bug Fixes | ||
* **input-amount:** handle user pasting of amounts heuristically ([3d438fc](https://github.com/ing-bank/lion/commit/3d438fc1e0f214979bb6a4e6f7af0627b525e3e4)) | ||
## [0.6.3](https://github.com/ing-bank/lion/compare/@lion/field@0.6.2...@lion/field@0.6.3) (2019-11-27) | ||
@@ -8,0 +19,0 @@ |
@@ -56,3 +56,3 @@ # Form Fundaments | ||
- [Model Value](https://github.com/ing-bank/lion/blob/master/packages/field/docs/ModelValue.md) | ||
- [Model Value](https://github.com/ing-bank/lion/blob/master/packages/field/docs/modelValue.md) | ||
- [Formatting and parsing](https://github.com/ing-bank/lion/blob/master/packages/field/docs/FormattingAndParsing.md) | ||
@@ -59,0 +59,0 @@ - [Interaction states](https://github.com/ing-bank/lion/blob/master/packages/field/docs/InteractionStates.md) |
{ | ||
"name": "@lion/field", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "Fields are the most fundamental building block of the Form System", | ||
@@ -45,3 +45,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "fd475157006049663dae012555830630ddddad9c" | ||
"gitHead": "29cf5ac188b2df814c3ddd6330f8669f500d62a3" | ||
} |
@@ -67,3 +67,3 @@ # Form Fundaments | ||
- [Model Value](https://github.com/ing-bank/lion/blob/master/packages/field/docs/ModelValue.md) | ||
- [Model Value](https://github.com/ing-bank/lion/blob/master/packages/field/docs/modelValue.md) | ||
- [Formatting and parsing](https://github.com/ing-bank/lion/blob/master/packages/field/docs/FormattingAndParsing.md) | ||
@@ -70,0 +70,0 @@ - [Interaction states](https://github.com/ing-bank/lion/blob/master/packages/field/docs/InteractionStates.md) |
@@ -313,3 +313,3 @@ /* eslint-disable class-methods-use-this */ | ||
_reflectBackFormattedValueToUser() { | ||
if (!this.__isHandlingUserInput) { | ||
if (this._reflectBackOn()) { | ||
// Text 'undefined' should not end up in <input> | ||
@@ -320,2 +320,6 @@ 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 | ||
@@ -322,0 +326,0 @@ // ("input" for <input> or "change" for <select>(mainly for IE)) a different event should be |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216152
3068