mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 01:20:09 +00:00
committed by
GitHub
parent
2531ec178e
commit
0cf21b190c
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user