diff --git a/invokeai/frontend/web/src/features/nodes/store/util/connectionValidation.ts b/invokeai/frontend/web/src/features/nodes/store/util/connectionValidation.ts index 907426b51d..a2f723fcfe 100644 --- a/invokeai/frontend/web/src/features/nodes/store/util/connectionValidation.ts +++ b/invokeai/frontend/web/src/features/nodes/store/util/connectionValidation.ts @@ -255,6 +255,7 @@ export const makeConnectionErrorSelector = ( if (targetTemplate.inputs[targetFieldName]?.input === 'direct') { return i18n.t('nodes.cannotConnectToDirectInput'); } + if (targetNode.data.type === 'collect' && targetFieldName === 'item') { // Collect nodes shouldn't mix and match field types const collectItemType = getCollectItemType(templates, nodes, edges, targetNode.id);