mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-06 16:10:09 +00:00
Fix combo input default value (#242)
* Fix combo input default value * Supress logs and fix failure
This commit is contained in:
@@ -120,7 +120,8 @@ export class ComfyInputsSpec {
|
||||
name,
|
||||
type,
|
||||
...spec,
|
||||
comboOptions: typeRaw
|
||||
comboOptions: typeRaw,
|
||||
default: spec.default ?? typeRaw[0]
|
||||
})
|
||||
default:
|
||||
return plainToClass(CustomInputSpec, { name, type, ...spec })
|
||||
|
||||
Reference in New Issue
Block a user