Unverified Commit 69c5e6de authored by Michael Poutre's avatar Michael Poutre
Browse files

fix(widgets): Add options object if not present when forceInput: true

parent 9a7a52f8
......@@ -1165,6 +1165,7 @@ export class ComfyApp {
this.addInput(inputName, type);
}
if(inputData[1]?.forceInput && config?.widget) {
if (!config.widget.options) config.widget.options = {};
config.widget.options.forceInput = inputData[1].forceInput;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment