Form / API

foldkit-mixins-form/declared

foldkit-mixins-form/declared: a form drawn from what Declared.of(form) (foldkit-form/metakit) read off its input Schema. Each key's bounds, step and keypad become its input's attributes; the CalendarDay and Decimal controls are drawn as a date input and an amount input; and a rule over several keys shows its message beside each key it reads.

A subpath, so a form view that uses none of it carries none of it. It reads the declarations by their shape and imports no metakit module.

Namespaces

Interfaces

DeclaredAttributesThe input attributes of one key's declaration, each none when it says nothing.
DeclaredFormWhat Declared.of(form) gives, as the view reads it: field is the form's own with the messages of a rule over several keys added, and constraints holds each…
DeclaredViewOptionsWhat DeclaredView.of takes beside the form and its declarations.