Expand description
Generic input form used by all overlay modals that collect user input.
Replaces the per-modal ConfigSetModal / ReportParamsModal duplicates.
Form is a list of Fields with a focused index and a FormKind
that identifies the submit target. validate is a pure function that
extracts and validates the form’s buffers into a FormSubmit payload.
Structs§
Enums§
- Form
Kind - What to do when the form is submitted.
- Form
Submit - The validated, ready-to-dispatch payload produced by
validate.
Functions§
- validate
- Validate the form’s buffers and produce a dispatchable submit payload.