Socket
Socket
Sign inDemoInstall

@lion/form-core

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/form-core - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.1.4](https://github.com/ing-bank/lion/compare/@lion/form-core@0.1.3...@lion/form-core@0.1.4) (2020-06-09)
### Bug Fixes
* **form-core:** on reset the submitted values becomes false ([#753](https://github.com/ing-bank/lion/issues/753)) ([d86cfc5](https://github.com/ing-bank/lion/commit/d86cfc59018a2e5dcff0b2f5728683fc4e4861e6))
## [0.1.3](https://github.com/ing-bank/lion/compare/@lion/form-core@0.1.2...@lion/form-core@0.1.3) (2020-06-08)

@@ -8,0 +19,0 @@

4

package.json
{
"name": "@lion/form-core",
"version": "0.1.3",
"version": "0.1.4",
"description": "Form-core contains all essential building blocks for creating form fields and fieldsets",

@@ -45,3 +45,3 @@ "author": "ing-bank",

},
"gitHead": "7573ecf53e50dd6ee72b4aed202a8fa21d0bc5fd"
"gitHead": "43fc4d28dfe10a206b9e3cab7882bd253db9dd82"
}

@@ -144,2 +144,3 @@ import { dedupeMixin } from '@lion/core';

this.touched = false;
this.submitted = false;
this.dirty = false;

@@ -146,0 +147,0 @@ this.prefilled = !this._isEmpty();

@@ -171,2 +171,3 @@ import { LitElement } from '@lion/core';

el.prefilled = true;
el.submitted = true;
el.resetInteractionState();

@@ -176,2 +177,3 @@ expect(el.dirty).to.be.false;

expect(el.prefilled).to.be.false;
expect(el.submitted).to.be.false;

@@ -181,2 +183,3 @@ el.dirty = true;

el.prefilled = false;
el.submitted = true;
el.modelValue = 'Some value';

@@ -187,2 +190,3 @@ el.resetInteractionState();

expect(el.prefilled).to.be.true;
expect(el.submitted).to.be.false;
});

@@ -189,0 +193,0 @@

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