Form field
Form field
FormField
is a wrapper for user interface controls that are typically found in a form (for example, Input
, ComboBox
or RadioButton
). You must make these controls accessible by providing them with a visible label, validation control, states and descriptive text elements.
Examples
How to use
Accessibility
All examples demonstrate Salt form controls inside the form field, including Input
, Checkbox
and RadioButton
. These components are available as part of the Salt component library in addition to FormField
.
Density
Mode
A form field is a wrapper for UI controls typically found in a form (for example, Input
, Combobox
or RadioButton
). Form fields make these controls accessible by providing them with a visible label, validation control, states and descriptive text elements.