Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lion/field

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/field - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

11

CHANGELOG.md

@@ -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 @@

2

docs/FormFundaments.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc