From e4e90b610b10483d296a20f08697ce46fa035db4 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Fri, 26 Dec 2025 16:46:12 -0800 Subject: [PATCH] Enable Custom Combo node as stable frontend now supports it --- comfy_extras/nodes_logic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/comfy_extras/nodes_logic.py b/comfy_extras/nodes_logic.py index f354cdd2a..616047b5e 100644 --- a/comfy_extras/nodes_logic.py +++ b/comfy_extras/nodes_logic.py @@ -131,6 +131,9 @@ class CustomComboNode(io.ComfyNode): @classmethod def validate_inputs(cls, choice: io.Combo.Type) -> bool: + # NOTE: DO NOT DO THIS unless you want to skip validation entirely on the node's inputs. + # I am doing that here because the widgets (besides the combo dropdown) on this node are fully frontend defined. + # I need to skip checking that the chosen combo option is in the options list, since those are defined by the user. return True @classmethod @@ -288,8 +291,8 @@ class LogicExtension(ComfyExtension): async def get_node_list(self) -> list[type[io.ComfyNode]]: return [ SwitchNode, + CustomComboNode, # SoftSwitchNode, - # CustomComboNode, # ConvertStringToComboNode, # DCTestNode, # AutogrowNamesTestNode,