@lion/field
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.3.5](https://github.com/ing-bank/lion/compare/@lion/field@0.3.4...@lion/field@0.3.5) (2019-10-25) | ||
### Bug Fixes | ||
* **field:** teardown registrarmanager listener on field after register ([88e75a2](https://github.com/ing-bank/lion/commit/88e75a2)) | ||
## [0.3.4](https://github.com/ing-bank/lion/compare/@lion/field@0.3.3...@lion/field@0.3.4) (2019-10-23) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/field", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Fields are the most fundamental building block of the Form System", | ||
@@ -45,3 +45,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "8223b4ad3d35e9afa71ff549ea6987b832763251" | ||
"gitHead": "3869e823751c4dcf984df5dd7a9aaa3d615b72e7" | ||
} |
@@ -16,2 +16,7 @@ import { dedupeMixin } from '@lion/core'; | ||
class FormRegisteringMixin extends superclass { | ||
constructor() { | ||
super(); | ||
this.__boundDispatchRegistration = this._dispatchRegistration.bind(this); | ||
} | ||
connectedCallback() { | ||
@@ -35,5 +40,6 @@ if (super.connectedCallback) { | ||
} else { | ||
formRegistrarManager.addEventListener('all-forms-open-for-registration', () => { | ||
this._dispatchRegistration(); | ||
}); | ||
formRegistrarManager.addEventListener( | ||
'all-forms-open-for-registration', | ||
this.__boundDispatchRegistration, | ||
); | ||
} | ||
@@ -49,2 +55,6 @@ } | ||
); | ||
formRegistrarManager.removeEventListener( | ||
'all-forms-open-for-registration', | ||
this.__boundDispatchRegistration, | ||
); | ||
} | ||
@@ -51,0 +61,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
209525
2971