Skip to main content

Module form

Module form 

Source
Expand description

Generic input form used by all overlay modals that collect user input.

Replaces the per-modal ConfigSetModal duplicates. Form is a list of Fields with a focused index and a FormKind that identifies the submit target.

Structs§

Field
A single labelled input field.
Form
A generic multi-field input form.

Enums§

FormKind
What to do when the form is submitted.
RowShape
Which fields a builder row is edited with.

Constants§

BUTTONS
The buttons of a form dialog, in focus order, and the intent each presses.
OPTIONS_BUTTONS
The buttons of the Options dialog: OK saves and closes, Apply saves, Cancel puts back.