diff --git a/src/scripts/app.ts b/src/scripts/app.ts index b3f43daae..3a4a90e12 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -2939,15 +2939,6 @@ export class ComfyApp { def['input']['required'][widget.name] !== undefined ) { widget.options.values = def['input']['required'][widget.name][0] - - if ( - widget.name != 'image' && - !widget.options.values.includes(widget.value) - ) { - widget.value = widget.options.values[0] - // @ts-expect-error - widget.callback(widget.value) - } } } }