IO.NUMBER should have widget
IO.NUMBER should have widget, same to INT, FLOAT, String, see https://github.com/comfyanonymous/ComfyUI/pull/8024 otherwise we have to connect Int or float node as input
┆Issue is synchronized with this Notion page by Unito
n.b.: IO.NUMBER is FLOAT,INT. So we really just need to solve the widgets for multi-type situation.
Using "widgetType" you can solve that already.
As INT and especially FLOAT have issues (like forced rounding) I actually prefer something like
"required": {
"value": (IO.NUMBER, {"default": 0.0, "widgetType": "STRING"}),
}
for my custom nodes.
Using
"widgetType"you can solve that already.
Yeah, that's from #3550. There was a pending follow-up for that, hence my comment.