LC Custom Combo
A dropdown you actually define, with a remote
- STRING
- INDEX
- OPT_CONNECTION
ComfyUI's own dropdowns are fixed - the KSampler knows its samplers, the scheduler node knows its schedulers. But what about your options? Your list of LoRA names, your three favorite styles, your A/B/C test prompt labels? LC Custom Combo (LCCustomCombo) lets you type your own option list and get back the chosen value plus its index. It's the "define your own enum" node of the LC123 pack, and it pairs with a remote-control panel so you can flip options without hunting for the node.
How it works
The node has inputcount (2–20) option slots plus a choice string. Fill the slots - option_01, option_02, and so on - with whatever values you want. Set choice to the one you want active. Then three outputs come out:
- STRING - the text of the selected option.
- INDEX - the position of the selected option (0-based), handy for feeding an integer switch or index math.
- OPT_CONNECTION - a wildcard
*output specifically there to wire into the LC Custom Combo Panel remote.
The mechanics are dead simple under the hood: it collects the filled options, looks up choice in the list, and emits the match (defaulting to the first option if your choice text doesn't match anything). If no options are filled at all, it emits an empty string and index 0 rather than erroring - so an unconfigured combo fails gracefully instead of breaking the graph.
The inputs that matter
Two things to get right:
- inputcount - how many option slots to show. The pack notes that manual node sizes stick across reload and auto-fit only when
inputcountchanges, so if your node looks squished, that's the trigger. - choice - the value you're selecting. It's a plain string, so type it exactly as it appears in an option slot (spaces count).
That's it. There's no magic "these are my options" data structure - the slots are the list.
Pairing with the panel
The whole point of the OPT_CONNECTION output is the sibling node LC Custom Combo Panel: wire it in, and you get a compact remote that flips the choice without expanding the main combo. This is the classic "keep the ugly data node tucked away, put the human control on the surface" pattern - genuinely handy in big graphs where the combo hub lives at the top and the thing you actually touch lives near the output.
Install
Part of ComfyUI_LC123_nodes. ComfyUI Manager (search the pack title) or:
cd ComfyUI/custom_nodes
git clone https://github.com/lonecatone23/ComfyUI_LC123_nodes
Restart. Pure standard types - no dependencies, no downloads.
Where people get burned
The usual beginner trap is thinking choice defines the list. It doesn't - it only selects. Fill the option slots first. And since it's a string match, an extra space in choice silently falls back to option index 0, which is a fun way to think your node is "stuck." This pack has essentially no Reddit discussion, so when in doubt, the README's switch-and-control section and the source comments in lc_custom_combo.py are the real documentation.
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| inputcount | INT | 22–20 | — |
| choice | STRING | — | |
| option_01opt | STRING | — | |
| option_02opt | STRING | — | |
| option_03opt | STRING | — | |
| option_04opt | STRING | — | |
| option_05opt | STRING | — | |
| option_06opt | STRING | — | |
| option_07opt | STRING | — | |
| option_08opt | STRING | — | |
| option_09opt | STRING | — | |
| option_10opt | STRING | — | |
| option_11opt | STRING | — | |
| option_12opt | STRING | — | |
| option_13opt | STRING | — | |
| option_14opt | STRING | — | |
| option_15opt | STRING | — | |
| option_16opt | STRING | — | |
| option_17opt | STRING | — | |
| option_18opt | STRING | — | |
| option_19opt | STRING | — | |
| option_20opt | STRING | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |
| INDEX | INT | — |
| OPT_CONNECTION | * | — |