Comfy-Org / Comfy-Org/ComfyUI_frontend

Multiline widgets break subgraph in some cases

Open
#5,168 2 comments 2 reactions 0 assignees View on GitHub
area:dom-widgets area:subgraph help wanted 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?

Multiline widgets within a subgraph do not function correctly after a workflow reload. The order of the widgets or their inputs may be altered. Copying and pasting (Ctrl+C, V) the subgraph temporarily resolves the issue

### Steps to Reproduce

https://github.com/user-attachments/assets/d635d717-77ae-49a7-bcb5-5c4f043fe184

### How is this affecting you?

Feature doesn't work as expected

### ComfyUI Frontend Version

1.26.6

### Browser

Chrome/Chromium

### Console Errors

```javascript

```

### Logs

```shell
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --disable-auto-launch --use-pytorch-cross-attention --temp-directory "a:\comfyui-temp" --fp8_e4m3fn-unet --fp8_e4m3fn-text-enc --lowvram --disable-all-custom-nodes --front-end-version Comfy-Org/ComfyUI_frontend@latest --port=8190
Checkpoint files will always be loaded safely.
Total VRAM 16376 MB, total RAM 130998 MB
pytorch version: 2.7.1+cu128
xformers version: 0.0.31.post1
Set vram state to: LOW_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 : cudaMallocAsync
Using pytorch attention
Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
ComfyUI version: 0.3.51
Setting temp directory to: a:\comfyui-temp\temp
Initializing frontend: Comfy-Org/ComfyUI_frontend@latest, requesting version details from GitHub...
[Prompt Server] web root: V:\comfyu_py311\ComfyUI\web_custom_versions\Comfy-Org_ComfyUI_frontend\1.26.6
Skipping loading of custom nodes
Context impl SQLiteImpl.
Will assume non-transactional DDL.
No target revision found.
Starting server

To see the GUI go to: http://127.0.0.1:8190
```

### Additional Context

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-5168-Multiline-widgets-break-subgraph-in-some-cases-2576d73d36508127b447da6c0b0e4fac) 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.