ComfyUI Node
Simple Selector (Switch) Advanced
A ComfyUI node in Lenient Switch with 9 inputs and 2 outputs.
Simple Selector (Switch) Advanced
- selector
- source_a
- source_b
- source_c
- source_d
- source_e
- output
- label
◄block_on_none_selectedfalse►
◄bypass_unselectedfalse►
◄bypass_unselected_groupsfalse►
CategoryLenient Switch
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| selector | LENIENT_SELECTOR | {"select": "none", "labels": ["", "", "", "", ""]} | Exclusive-checkbox selector (slots A-E + none) with a per-slot editable label. Click a row to select; double-click a slot row to edit its label (the label also names the canvas group for bypass_unselected_groups). Value is JSON: {"select": ..., "labels": [..]}. |
| block_on_none_selected | BOOLEAN | false | When 'none' is selected, emit ExecutionBlocker so downstream nodes are skipped instead of receiving None. |
| bypass_unselected | BOOLEAN | false | When ON, only the selected slot's source_X is evaluated; the upstream chains feeding the other (and, with 'none', all) sources do not run (lazy evaluation). Note: nodes are not visually bypassed like rgthree; they simply do not execute. |
| bypass_unselected_groups | BOOLEAN | false | JS-only, rgthree FastGroupsBypasser-style group bypass. When ON, the canvas group whose name matches each slot's label is set to BYPASS (mode 4) for every UNSELECTED slot and to ALWAYS for the selected slot. Handled entirely by the frontend; the Python run/check_lazy_status ignore this toggle. Orthogonal to bypass_unselected (lazy eval). When OFF, referenced groups are restored to ALWAYS. |
| source_aopt | * | Source for slot A (any type). | |
| source_bopt | * | Source for slot B (any type). | |
| source_copt | * | Source for slot C (any type). | |
| source_dopt | * | Source for slot D (any type). | |
| source_eopt | * | Source for slot E (any type). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| output | * | — |
| label | STRING | — |