@lion/field
Advanced tools
Comparing version 0.8.8 to 0.8.9
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.8.9](https://github.com/ing-bank/lion/compare/@lion/field@0.8.8...@lion/field@0.8.9) (2020-02-06) | ||
### Bug Fixes | ||
* **field:** changed order get label ([868785b](https://github.com/ing-bank/lion/commit/868785b860b6edad95fea27182549e2def998b36)) | ||
## [0.8.8](https://github.com/ing-bank/lion/compare/@lion/field@0.8.7...@lion/field@0.8.8) (2020-02-06) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/field", | ||
"version": "0.8.8", | ||
"version": "0.8.9", | ||
"description": "Fields are the most fundamental building block of the Form System", | ||
@@ -45,3 +45,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "d67225984ce359c421e1c1e350da98819f83e452" | ||
"gitHead": "3995eb839701c7839c001d4f5c09fc48a313e782" | ||
} |
@@ -57,3 +57,3 @@ import { html, css, nothing, dedupeMixin, SlotMixin } from '@lion/core'; | ||
get label() { | ||
return (this._labelNode && this._labelNode.textContent) || this.__label; | ||
return this.__label || (this._labelNode && this._labelNode.textContent); | ||
} | ||
@@ -68,3 +68,3 @@ | ||
get helpText() { | ||
return (this._helpTextNode && this._helpTextNode.textContent) || this.__helpText; | ||
return this.__helpText || (this._helpTextNode && this._helpTextNode.textContent); | ||
} | ||
@@ -71,0 +71,0 @@ |
@@ -63,3 +63,3 @@ import { expect, fixture, html, defineCE, unsafeStatic } from '@open-wc/testing'; | ||
</${tag}>`); | ||
expect(el.label).to.equal(undefined); | ||
expect(el.label).to.equal(''); | ||
}); | ||
@@ -104,3 +104,3 @@ | ||
</${tag}>`); | ||
expect(el.helpText).to.equal(undefined); | ||
expect(el.helpText).to.equal(''); | ||
}); | ||
@@ -107,0 +107,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
159902