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
Props
Accepts Box props.
Use the field key in ThemeProvider to customize the default properties of this component.
ReactReactNodeUsually accepts form fields, such as input or select.
booleanRenders label and field[s] smaller.
numberControls distribution between fields, by passing this prop to StackView. (Defaults to “fill”.)
stringHelpful text to accompany fields.
string | ReactReactNodeRenders content into a HelperDrawer next to label.
anyPlaces an icon to the left of the label.
booleanRenders label and field[s] inline.
ReactRefGain access to the internal ref.
string | ReactReactNodeLabel that describes field[s].
string | numberLabel flex basis.
stringLabel color.
string | numberLabel flex grow.
numberControls spacing between fields.
'success' | 'error'State of field[s].