Displays a multi-line text field input.
This component is based on the textarea
element and supports common margin props m
, mx
, my
, ml
, mr
, mt
, mb
. View source
The state
prop is deprecated, as the types of state it represents may not be mutually exclusive. Use disabled
, readOnly
or invalid
instead.
The invalid
prop indicates that the field’s value is invalid. Fields are styled as valid
by default, though built-in client-side validation still applies. In a future version we may synchronize styled validation with the field’s internal validity state.