We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f9465 commit 3d16dc7Copy full SHA for 3d16dc7
packages/field/src/FormRegistrarMixin.js
@@ -28,12 +28,18 @@ export const FormRegistrarMixin = dedupeMixin(
28
this.registrationReady = new Promise(resolve => {
29
this.__resolveRegistrationReady = resolve;
30
});
31
- formRegistrarManager.add(this);
32
33
this._onRequestToAddFormElement = this._onRequestToAddFormElement.bind(this);
34
this.addEventListener('form-element-register', this._onRequestToAddFormElement);
35
}
36
+ connectedCallback() {
37
+ if (super.connectedCallback) {
38
+ super.connectedCallback();
39
+ }
40
+ formRegistrarManager.add(this);
41
42
+
43
disconnectedCallback() {
44
if (super.disconnectedCallback) {
45
super.disconnectedCallback();
0 commit comments