@lion/form-core
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.2.3](https://github.com/ing-bank/lion/compare/@lion/form-core@0.2.2...@lion/form-core@0.2.3) (2020-07-09) | ||
### Bug Fixes | ||
* **formgroup:** wait for formElements to register ([780383d](https://github.com/ing-bank/lion/commit/780383d081607c0099004c2824a1493ced3d78a9)) | ||
## [0.2.2](https://github.com/ing-bank/lion/compare/@lion/form-core@0.2.1...@lion/form-core@0.2.2) (2020-07-09) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/form-core", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Form-core contains all essential building blocks for creating form fields and fieldsets", | ||
@@ -45,3 +45,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "d9d24df2a9799a0e7bd404fffa634aa164d7eeee" | ||
"gitHead": "cfeb67c9133608be7c203e2ec5cbbee6c4de4f03" | ||
} |
@@ -272,3 +272,6 @@ import { dedupeMixin, html, SlotMixin } from '@lion/core'; | ||
_setValueForAllFormElements(property, value) { | ||
async _setValueForAllFormElements(property, value) { | ||
if (!this.__readyForRegistration) { | ||
await this.registrationReady; | ||
} | ||
this.formElements.forEach(el => { | ||
@@ -275,0 +278,0 @@ el[property] = value; // eslint-disable-line no-param-reassign |
341275
8250