Form field

Also known as

Form input, Input control, Form element
Available since
@salt-ds/core@1.8.0

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.

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.