Comfy-Org / Comfy-Org/ComfyUI

V3 DynamicCombo display_name for nested inputs being ignored

Open
#11,623 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

I'm unsure if this is a frontend bug or not
Expected behaviour is that display_name works for inputs of a DynamicCombo

### Actual Behavior

trying to use display_name="" for any nested input option of a DynamicCombo seems to be ignored/not working and uses the ID as if no display_name is supplied; display_name for the top level DynamicCombo input itself does work

Image
(also happens if using public `io` )
my ComfyUI version is (git rev-parse HEAD output) acbf08cd60fade74b2e9e5009fa0dcad9538356b

### Steps to Reproduce

get latest ComfyUI and ComfyUI-frontend
Create a v3 schema custom node including a DynamicCombo or use an existing one (like comfy_extras/nodes_logic.py and uncomment DCTestNode)
Add `display_name=""` to any io.DynamicCombo.Option()
Add the node in ComfyUI, the nested input of the DynamicCombo is now using whatever the id of the option is instead of display_name

### Debug Logs

```powershell
None, no errors or anything
```

### Other

_No response_

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.