@lion/field
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.12.1](https://github.com/ing-bank/lion/compare/@lion/field@0.12.0...@lion/field@0.12.1) (2020-04-02) | ||
### Bug Fixes | ||
* **field:** clear method reset modelValue ([cf13410](https://github.com/ing-bank/lion/commit/cf134100262a2a7f77a0ec58b3e685de8e14795d)) | ||
# [0.12.0](https://github.com/ing-bank/lion/compare/@lion/field@0.11.4...@lion/field@0.12.0) (2020-03-25) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/field", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "Fields are the most fundamental building block of the Form System", | ||
@@ -39,12 +39,6 @@ "author": "ing-bank", | ||
"dependencies": { | ||
"@lion/core": "0.5.0", | ||
"@lion/validate": "0.9.0" | ||
"@lion/core": "0.5.1", | ||
"@lion/validate": "0.9.1" | ||
}, | ||
"devDependencies": { | ||
"@lion/localize": "0.9.0", | ||
"@open-wc/demoing-storybook": "^1.10.4", | ||
"@open-wc/testing": "^2.5.0", | ||
"sinon": "^7.2.2" | ||
}, | ||
"gitHead": "29e1252560d3fda898f98c271a7b685d1e929035" | ||
"gitHead": "b58aa65377d5e7a0cd4d87917980291c832e7120" | ||
} |
@@ -165,3 +165,3 @@ import { LitElement, SlotMixin } from '@lion/core'; | ||
} | ||
this.value = ''; // can't set null here, because IE11 treats it as a string | ||
this.modelValue = ''; // can't set null here, because IE11 treats it as a string | ||
} | ||
@@ -168,0 +168,0 @@ |
@@ -113,7 +113,7 @@ import { unsafeHTML } from '@lion/core'; | ||
el.clear(); | ||
expect(el.value).to.equal(''); | ||
el.value = 'Some value from property'; | ||
expect(el.value).to.equal('Some value from property'); | ||
expect(el.modelValue).to.equal(''); | ||
el.modelValue = 'Some value from property'; | ||
expect(el.modelValue).to.equal('Some value from property'); | ||
el.clear(); | ||
expect(el.value).to.equal(''); | ||
expect(el.modelValue).to.equal(''); | ||
}); | ||
@@ -120,0 +120,0 @@ |
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
179543
0
+ Added@lion/core@0.5.1(transitive)
+ Added@lion/localize@0.9.1(transitive)
+ Added@lion/validate@0.9.1(transitive)
- Removed@lion/core@0.4.20.5.0(transitive)
- Removed@lion/helpers@0.2.2(transitive)
- Removed@lion/localize@0.9.0(transitive)
- Removed@lion/validate@0.9.0(transitive)
- Removedlit-element@2.1.0(transitive)
Updated@lion/core@0.5.1
Updated@lion/validate@0.9.1