Description
With FieldGroup
you can group several Field-components and its error states to compose one single component.
It watches the states of its children and uses internally Field.FieldBlock to display one state at a time.
import { FieldGroup } from '@dnb/eufemia/extensions/forms'
Demos
Label only (default layout)
Input features goes here
Code Editor
<FieldGroup label="Label text">Input features goes here</FieldGroup>
With info
For your information
Code Editor
<FieldGroup label="Label text" info="For your information"><Layout.Row><Field.String /><Field.Number /></Layout.Row></FieldGroup>