Expand description
Parsers for the form-related wire replies (commodity and form options, loaded and carried values).
Structs§
- Form
Option - One
form-optionsentry: the entity id, its label and its bare-name alias.
Functions§
- commodity_
fill - The commodity to fill after
accountis picked: its only commodity. - copy_
carried - Copies the nested rows fields
formhas fromfromintoto, keeping a present empty field present and a missing one missing, then drops the rows whose parent row is not into. - map_
references valueswith every non-empty select value replaced by its option id, over oneform-optionsfetch per source; the session sees no submit on failure.- map_
values valueswith every non-empty select value replaced by its id infetched; errors name a field as{flag_prefix}{key}.- parse_
form_ options - Parse a
form-optionswire reply into its options. - parse_
loaded_ reply - Parse the wire reply of a
load-formcall forformintoFormValues. - parse_
option_ list - Parse the unwrapped list text of a
form-optionsreply. - parse_
suggestions - Parse a
form-optionssuggestion reply: a list of strings. - resolve
- The id of the option
inputnames: an own id, an exact label, or a unique alias;|stands for¦, and commodities compare case-insensitively. - sources_
used - The option sources
valueshas a select value in.
Type Aliases§
- Fetched
- The
form-optionsfetched per source.