FormGroup
Overview
When to use
The form group component should be used to display a input element with a relating text label. It can be marked as optional (default) or required.
When to consider an alternative
If no label is needed and the input element is self-descriptive, use a simple input component.
Component
Default
Required
Properties
Default
| Property | Type | Required | Default |
|---|---|---|---|
| utilClassNames | String | false | - |
| children | Node | false | - |
| label | String | true | - |
| required | Bool | false | false |
| htmlFor | String | true | - |