Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Don't completely break workflow if field name changes.

comfyanonymous44b6eaad6fa2
diff --git a/web/extensions/core/widgetInputs.js b/web/extensions/core/widgetInputs.js
index 5e6013471..ff9227d28 100644
--- a/web/extensions/core/widgetInputs.js
+++ b/web/extensions/core/widgetInputs.js
@@ -131,7 +131,11 @@ app.registerExtension({
for (const input of this.inputs) {
if (input.widget) {
const w = this.widgets.find((w) => w.name === input.widget.name);
- hideWidget(this, w);
+ if (w) {
+ hideWidget(this, w);
+ } else {
+ convertToWidget(this, input)
+ }
}
}
}