Interface: FormFieldOption
Defined in: packages/core/src/types.ts:58
An individual option in a Select, RadioGroup, or similar enum-driven component. Generated from z.enum(), z.literal(), and z.union() of literals by their processors.
Properties
disabled?
optionaldisabled?:boolean
Defined in: packages/core/src/types.ts:64
When true, the option is shown but cannot be selected.
label
label:
string
Defined in: packages/core/src/types.ts:62
Human-readable label displayed in the Select, RadioGroup, or Combobox.
value
value:
string|number
Defined in: packages/core/src/types.ts:60
The option value submitted with the form (must be string or number for HTML compatibility).