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 fc93ab4 commit 3cfd4beCopy full SHA for 3cfd4be
addon/components/bs-form/element.js
@@ -14,7 +14,8 @@ export default class BsFormElement extends BaseBsFormElement {
14
}
15
16
get controlElement() {
17
- return document.getElementById(this.formElementId);
+ // Start element search from this._element instead of `document`, to support being inside shadow DOM
18
+ return this._element.querySelector(`#${this.formElementId}`);
19
20
21
get errors() {
0 commit comments