OptionalFieldOptions
Optional field options can provide separate field options for both
the optional and the optional's value.
The value for the optional is set via the child field.
Fields
- display:FieldOptions.DisplayMode
- FieldOptions.DisplayMode
- customDisplayFn:?*const fn ([]const u8, *anyopaque, bool, *dvui.Alignment) void
Display the field using this function, instead of the default struct_ui function.
- label:?[]const u8
- ?[]const u8
- default_expanded:?bool
- ?bool
- child:FieldOptions.ChildFieldOptions
the optional and the option's value can have different display modes.