Components
Components combine HTML elements (see below) into easier-to-use widgets, simplifying the input, providing repeatability (DRY), but still permitting extensive configuation.
FormField
FormField
components group a Label
, a form input
of some sort, and an (optional) help box. IDs are automatically generated.
- CheckboxField
= (field = ) => (attributes = ) =>
- EmailField
= (field = ) => (attributes = ) =>
- NumberField
= (field = ) => (attributes = ) =>
- SelectField
= (field = ) => (attributes = ) =>
- StringField
= (field = ) => (attributes = ) =>
- TextField
= (field = ) => (attributes = ) =>
TabularFormField
TabularFormField
components return a Tr
table row
with two cells: a Th
containing the input's
Label
, and a Td
containing the form input.