Comfy-Org / Comfy-Org/ComfyUI_frontend

Input requirement from node doesn't reflect in subgraph node

Open
#5,170 0 comments 0 reactions 0 assignees View on GitHub
area:subgraph verified bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Prerequisites

- [x] I am running the latest version of ComfyUI
- [x] I have searched existing issues to make sure this isn't a duplicate
- [x] I have tested with all custom nodes disabled ([see how](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled))

### What happened?

When I connect a node input "optional" to make it a input in subgraph the subgraph input doesn't match the "optional" input from node

### Steps to Reproduce

1. Create a subgraph
2. Connect node input as a subgraph input

### How is this affecting you?

Workflow won't execute

### ComfyUI Frontend Version

1.25.9

### Browser

Edge

### Console Errors

```javascript

```

### Logs

```shell

```

### Additional Context

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-5170-Input-requirement-from-node-doesn-t-reflect-in-subgraph-node-2576d73d3650817ab8c0feefe21584f3) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.