struct
TUI::FormEnumOption
- TUI::FormEnumOption
- Struct
- Value
- Object
Overview
One choice in an EnumField/FlagsField picker: #label is what's shown
on screen, #wire_value is what gets persisted (see FormField#value)
and what a FieldSpec's current value is matched against on #start.
Defined in:
tui/form/form_field.crConstructors
Instance Method Summary
- #clone
- #copy_with(label _label = @label, wire_value _wire_value = @wire_value)
- #label : String
- #wire_value : String