@lion/field
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -6,2 +6,15 @@ # Change Log | ||
## [0.3.1](https://github.com/ing-bank/lion/compare/@lion/field@0.3.0...@lion/field@0.3.1) (2019-10-14) | ||
### Bug Fixes | ||
* **form-registrar-mixin:** call becomesReady on connectedCallback ([75b3e2c](https://github.com/ing-bank/lion/commit/75b3e2c)) | ||
* **form-registrar-mixin:** ensure becomesReady called only once ([991af25](https://github.com/ing-bank/lion/commit/991af25)) | ||
* **form-registrar-mixin:** fix typo ([2d45e65](https://github.com/ing-bank/lion/commit/2d45e65)) | ||
# [0.3.0](https://github.com/ing-bank/lion/compare/@lion/field@0.2.10...@lion/field@0.3.0) (2019-10-11) | ||
@@ -8,0 +21,0 @@ |
{ | ||
"name": "@lion/field", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Fields are the most fundamental building block of the Form System", | ||
@@ -45,3 +45,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "ac44ce8e212c2502ed1c452ac4d0e7d4d5d431be" | ||
"gitHead": "5e3099ae9df5f0b307931342059910fb3510ab86" | ||
} |
@@ -28,2 +28,3 @@ import { dedupeMixin } from '@lion/core'; | ||
this.__readyForRegistration = false; | ||
this.__hasBeenRendered = false; | ||
this.registrationReady = new Promise(resolve => { | ||
@@ -42,2 +43,5 @@ this.__resolveRegistrationReady = resolve; | ||
formRegistrarManager.add(this); | ||
if (this.__hasBeenRendered) { | ||
formRegistrarManager.becomesReady(); | ||
} | ||
} | ||
@@ -60,3 +64,4 @@ | ||
this.__readyForRegistration = true; | ||
formRegistrarManager.becomesReady(this); | ||
formRegistrarManager.becomesReady(); | ||
this.__hasBeenRendered = true; | ||
} | ||
@@ -63,0 +68,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
208492
2962