Field
View Source
Composes InputLabel and passes an id
to the first child to pair labels and controls automatically.
Select an item
Select at least one choice, Name cannot be blank
Copy
Edit
Props
label
string | ReactReactNode
Label that describes field[s].
labelColor
string
Label color.
labelBasis
string | number
Label flex basis.
labelGrow
string | number
Label flex grow.
inline
boolean
Renders label and field[s] inline.
helpContent
string | ReactReactNode
Renders content into a HelperDrawer next to label.
feedbackText
string
Helpful text to accompany fields.
spacing
number
Controls spacing between fields.
state
'success' | 'error'
State of field[s].