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 a75b94e commit 1b9f61fCopy full SHA for 1b9f61f
packages/scoped-custom-element-registry/src/scoped-custom-element-registry.js
@@ -486,7 +486,7 @@ if (!ShadowRoot.prototype.createElement) {
486
const host = internalsToHostMap.get(this);
487
const definition = definitionForElement.get(host);
488
if (definition['formAssociated'] === true) {
489
- originalMethod?.call(this, ...args);
+ return originalMethod?.call(this, ...args);
490
} else {
491
throw new DOMException(
492
`Failed to execute ${originalMethod} on 'ElementInternals': The target element is not a form-associated custom element.`
0 commit comments