- 
                Notifications
    You must be signed in to change notification settings 
- Fork 393
Description
Frontend Version
Hi,
In previous versions of comfyui_frontend, we could convert a widget as an input even if the widget was dynamically created by the node.
This option has been removed in favor of the automatic conversion method when trying to connect to the input. However, this only works if the nodes have well-defined types (INT, STRING, etc.) in my INPUT_TYPES class.
However, when an input isn't defined in the INPUT_TYPES class (because it's created on the fly by the node), it no longer works.
I suppose that the widget-to-input conversion function must check the properties in INPUT_NODE, and if there isn't a matching type, the widget-to-input conversion doesn't work.
So my question is, is this a bug? An oversight? Or a feature that has simply disappeared?
Is there a way to tell if a widget can be converted to an input when creating the widget?
Expected Behavior
when i used the following code to create a STRING widget (in previous version) :
ComfyWidgets.STRING(
                    node,
                    "default",
                    ["STRING", { default: "" }],
                    app
                );
I have this :
and when I want connect the string input :
then :
Actual Behavior
in version 0.3.33 and 1.18.9 :
and when I want to connect to input the little dot doesn't appear and not connectable:
Steps to Reproduce
Debug Logs
nothing in logsBrowser Logs
nothing
Setting JSON
no change, default settings
What browsers do you use to access the UI ?
No response
Other Information
all kind of browser
┆Issue is synchronized with this Notion page by Unito





