Form / API
foldkit-form/metakit
foldkit-form/metakit — a form reading what a metakit declaration already
says: the input attributes its Schema's bounds and domain types imply, and
whether a guarded Transition would go through with the values entered so
far, and which of its rules over several keys those values break. A
subpath: the main entry imports no metakit module, so a page with a
form and no metakit keeps none of it.
Namespaces
Interfaces
Constraint | One key's declaration as Inspect.fieldSpecs reads it from the input's Schema (its bounds, literals and domain type), with the input attributes that follow… |
Declarations | A form's declarations, read once from its input Schema. |
DeclaredForm | What Declared.of reads from a form: its input Schema, what of it decodes as it stands, and one key's state as a view shows it. |
DeclaredOptions | What Declared.of takes beside the form. |
InputAttributes | What an HTML <input> takes from a key's declaration. Each is none when the declaration says nothing about it, and type is none when the control's own type… |
RuleFailure | A rule over several keys of the input that the values entered so far break. |