mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-25 01:04:06 +00:00
Support display_name on frontend (#6922)
The v3 schema allows defining a `display_name` on inputs, but this was previously ignored on the frontend. It is now used to designate a default value for the label of a widget or input. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6922-Support-display_name-on-frontend-2b66d73d365081d992cbea07abc27a0f) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -27,6 +27,7 @@ export const zBaseInputOptions = z
|
||||
.object({
|
||||
default: z.any().optional(),
|
||||
defaultInput: z.boolean().optional(),
|
||||
display_name: z.string().optional(),
|
||||
forceInput: z.boolean().optional(),
|
||||
tooltip: z.string().optional(),
|
||||
socketless: z.boolean().optional(),
|
||||
|
||||
Reference in New Issue
Block a user