diff --git a/src/extensions/core/widgetInputs.ts b/src/extensions/core/widgetInputs.ts index 2d07762c0..3459db4a7 100644 --- a/src/extensions/core/widgetInputs.ts +++ b/src/extensions/core/widgetInputs.ts @@ -716,6 +716,9 @@ app.registerExtension({ }) }, async beforeRegisterNodeDef(nodeType, nodeData, app) { + nodeType.prototype.isValidWidgetLink ??= + PrimitiveNode.prototype.isValidWidgetLink + // Add menu options to convert to/from widgets const origGetExtraMenuOptions = nodeType.prototype.getExtraMenuOptions nodeType.prototype.convertWidgetToInput = function (widget) {