Comfy-Org / Comfy-Org/ComfyUI_frontend

Autogrow node gets scrambled after reloading workflow

Open
#10,136 4 comments 0 reactions 0 assignees View on GitHub
area:nodes area:ui browser:firefox 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 custom nodes enabled

### What happened?

```python
autogrow_template = io.Autogrow.TemplatePrefix(
input=io.String.Input("text", force_input=True),
prefix="text_",
min=1,
max=io.Autogrow._MaxNames,
)
```

When you first attach below 10 inputs and refresh (works fine):

Image

When you go above 10 inputs before:

Image

When you have above 10 inputs after:

Image

### Steps to Reproduce

1. Use v3 schema autogrow node
2. Have more than 10 inputs
3. Refresh browser / reload workflow

[test.json](https://github.com/user-attachments/files/26044391/test.json)

### How is this affecting you?

Visual/UI issue only

### ComfyUI Frontend Version

1.41.20

### Browser

Firefox

### Console Errors

```javascript
None.
```

### Logs

```shell
Not relevant.
```

### Additional Context

Using my personal nodes: latest git [ComfyUI-SuperNodes](https://github.com/sonnybox/ComfyUI-SuperNodes)

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-10136-Autogrow-node-gets-scrambled-after-reloading-workflow-3266d73d36508155a4c3e2e9b1e0630e) 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.