V2 checks widget.type to decide whether to render; setting only widget.hidden = true was insufficient. Adding widget.type = "hidden" matches the V2-compatible pattern used across the ComfyUI ecosystem.
V2 checks widget.type to decide whether to render; setting only widget.hidden = true was insufficient. Adding widget.type = "hidden" matches the V2-compatible pattern used across the ComfyUI ecosystem.