Textarea
Basic
You can use ATextarea
component to render basic textarea.
Placeholder
You can use placeholder
attribute to add placeholder to the textarea.
Label
You can use label
prop to add label to the textarea.
Height
You can adjust the height of ATextarea component by providing height
prop with the value of valid height class. You have to prefix !
to override the default height for using custom height.
Auto Size
You can use auto-size
prop to automatically update the height of ATextarea depending on the content.
API
Set component in disabled state
Set component in readonly mode
Set loading state
Automatically update the height of a textarea depending on the content.
Append icon
Input wrapper classes
Input classes
Input wrapper attributes
Add hint below the form component
Error text to render. This will replace hint text if provided.
Label of the form component
Prepend icon
Prepend icon inside input
Append icon inside input
Textarea height. Provide valid CSS height class with !
prefixed.