ComfyUI Node

Quick Combo

The fastest dropdown in the pack — type a list, get a value and an index

By relhamdi·Created 7 months ago·Updated 2 months ago· 1
Quick Combo
    • value
    • index
    one_basedfalse
    options
    selected--

    QuickCombo is the pack's answer to "I just want a dropdown, right now." You type a comma-separated list into one field, and a dropdown appears that hands you both the selected value and its position. That's it. No files, no JSON, no setup. If your need is bigger than that, walk over to PromptOptionPicker; if you need a switch between connected nodes, that's PromptRouter. QuickCombo is for when you want the plain thing.

    How it works

    The options field takes an inline list like neutral, happy, sad, angry. As you type, the selected dropdown rebuilds itself. On execution it spits out two things:

    • value - the string you picked.
    • index - its position in the list, 0-based by default. Flip one_based to True and it starts at 1 instead.

    The index output is the sleeper feature. If all you want is to inject text into a prompt, the value is enough. But index is what lets you drive other logic - feed it into a number input somewhere, or use it as the branch key in a multi-option setup. In the author's own words, toggle one_based when you need the indexing to match the convention of whatever node it's feeding.

    The mechanism is trivial and that's the point: split on commas, strip whitespace, drop empties, look up the selected value, return it with its position. If nothing's selected it returns an empty string and index 0 rather than crashing.

    When to reach for it vs. its siblings

    • QuickCombo - one line, inline, done. Best for 3–8 options you type once.
    • PromptOptionPicker - multiline lists, one per line, with @combine cartesian blocks, display labels, and empty-string options. That's the advanced one.
    • PromptRouter - switches between connected nodes, not typed values.

    There's genuinely no more to say about the inputs: options, selected, one_based. The output pair is value and index.

    Installing it

    It ships in ComfyUI-RE-CustomUtils. Via ComfyUI Manager, search the pack name; or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/relhamdi/ComfyUI-RE-CustomUtils
    

    Restart ComfyUI. No extra pip installs, no model files - the pack's only declared dependency is torch, which you already have.

    Common issues

    Honestly, there's not much to break. Two things to keep in mind:

    • It's literal about commas - write blue, green, red, not blue,green or bullet points. Whitespace around commas is stripped, but a stray comma mid-option becomes a split point.
    • Empty list returns ("", 0) quietly. If your workflow assumed a real value would always come out, wire accordingly.

    This is the node you'll use ten times a day without thinking about it, which is exactly the right job for it. Sometimes the simplest tool in the pack is the one you actually reach for.

    CategoryRE-CustomUtils

    Inputs (3)

    NameTypeDefaultDescription
    one_basedBOOLEANfalseIf True, index output starts at 1 instead of 0.
    optionsSTRINGComma-separated list. Ex: neutral, happy, sad
    selectedSTRING--Internal — stores selected value.

    Outputs (2)

    NameTypeDescription
    valueSTRING
    indexINT