Skip to main content

Module forms

Module forms 

Source
Expand description

The s-expression adapters of the client forms: payload decoding, the native encoders and registration over crate::forms.

Constants§

REGISTERED_COMMANDS

Functions§

args_error
A bad native argument: unknown form name or option source.
counted
Counts result as one request of form, then maps its failure to the native error.
filter_rows
The rows of text: (:logic :and :rows (row…)), or (:opaque t) for a valid filter the rows cannot express.
filter_text
The filter text for rows, (:logic :and :rows (row…)) as filter-rows gives it; an empty builder is "".
form_descriptor
One descriptor by name, or all of them for the empty name.
form_invalid
The error a submit returns when its values are invalid.
form_options
The user’s accounts or commodities as picker options, or a text cell’s suggestions as a list of strings. A suggestion source that takes a tag name carries it after a colon: split-tag-values:Category.
load_form
Load the values of a form over the compiled-in form names.
load_form_noticed
load_form and the notice the loaded entity carries.
merge_preview_value
The accounts a merge payload picks and the splits the merge would move.
native_failure
The native error: form-invalid for field errors, the original error for an internal failure, not-found for a missing entity, args for every other cause.
register
report_outcome
The outcome of the report form name over payload, as submit-form runs it.
run_transaction_query
Result: the Outcome::Page wire.
submit_form
Dispatch a submit over the compiled-in form names.
submit_form_noticed
submit_form and the notice its reply carries.