diff --git a/packages/editor-ui/src/Interface.ts b/packages/editor-ui/src/Interface.ts index a2b192c406..d4beda47f7 100644 --- a/packages/editor-ui/src/Interface.ts +++ b/packages/editor-ui/src/Interface.ts @@ -101,6 +101,7 @@ export interface IEndpointOptions { overlays?: any; // tslint:disable-line:no-any parameters?: any; // tslint:disable-line:no-any uuid?: string; + enabled?: boolean; } export interface IConnectionsUi { diff --git a/packages/editor-ui/src/components/mixins/nodeBase.ts b/packages/editor-ui/src/components/mixins/nodeBase.ts index 000f552f47..49897cbc74 100644 --- a/packages/editor-ui/src/components/mixins/nodeBase.ts +++ b/packages/editor-ui/src/components/mixins/nodeBase.ts @@ -257,8 +257,9 @@ export const nodeBase = mixins( endpoint: inputData.endpoint, endpointStyle: inputData.endpointStyle, endpointHoverStyle: inputData.endpointHoverStyle, - isSource: !this.isReadOnly, + isSource: true, isTarget: false, + enabled: !this.isReadOnly, parameters: { nodeIndex: this.nodeIndex, type: inputName,