v14.2.0

Playroom

Github

Field

View Source

Composes InputLabel and passes an id to the first child to pair labels and controls automatically.

Select at least one choice, Name cannot be blank

Copy
Edit

Props

labelstring | ReactReactNode

Label that describes field[s].

Label color.

labelBasisstring | number

Label flex basis.

labelGrowstring | number

Label flex grow.

inlineboolean

Renders label and field[s] inline.

helpContentstring | ReactReactNode

Renders content into a HelperDrawer next to label.

Helpful text to accompany fields.

spacingnumber

Controls spacing between fields.

state'success' | 'error'

State of field[s].

  • Props
PreviousDateFieldNextFieldSet