Comfy-Org / Comfy-Org/ComfyUI_frontend

Some subgraph inputs lose their edit boxes when saved as a blueprint

Open
#6,587 2 comments 0 reactions 0 assignees View on GitHub
area:subgraph Potential 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 save a subgraph as a blueprint some of the inputs lose their edit boxes:

Image

The "Container" subgraph was saved as a blueprint. The "Blueprint" subgraph is the result added to the workflow from the Subgraph Blueprints entry in the Nodes menu.

They should look the same.

### Steps to Reproduce

1. Create a subgraph with some string nodes and connect these up to inputs:

Image

2. Embed the subgraph into another subgraph and connect up some of its inputs:

Image

3. The outer subgraph now looks like this:

Image

4. Save the subgraph as a blueprint and _refresh the browser window_

5. From the Nodes menu, pick the Subgraph Blueprint you just created and drop it on the page

6. The resulting subgraph is deformed, with missing edit box:

Image

7. Opening the subgraph you can see the embedded subgraph is similarly deformed:

Image

### How is this affecting you?

Feature doesn't work as expected

### ComfyUI Frontend Version

1.32.1

### Browser

Chrome/Chromium

### Console Errors

```javascript

```

### Logs

```shell

```

### Additional Context

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6587-Some-subgraph-inputs-lose-their-edit-boxes-when-saved-as-a-blueprint-2a26d73d365081218b4bd00e929239f4) 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.