Enable Custom Combo node as stable frontend now supports it

This commit is contained in:
Jedrzej Kosinski 2025-12-26 16:46:12 -08:00
parent 0d006f8e98
commit e4e90b610b

View File

@ -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,