A field in a web form.
Properties
error {string|node}
- Validation errors.
help {string|node}
- Helpful text.
htmlFor {string}
- Id of the input element that the label should be associated with.
hidden true|false
- Whether the FormField should be hidden. Defaults to
false
. This property will most likely be removed in Grommet 2.0. Consider using React state to manage the FormFields you want to show/hide. label {string|node}
- Label for the field.
size medium|large
- The size of the input text font. Defaults to
medium
. This property will most likely be removed in Grommet 2.0. strong true|false
- Whether the text for the input field should be strong. Defaults to
false
. This property will most likely be removed in Grommet 2.0.