Textarea
A multi-line text input.
Forms
Added in v0.76.3
Updated
Default
Shown on your profile.
{ui field, name: 'bio', label: 'Bio', hint: 'Shown on your profile.'}
{ui textarea, name: 'bio', placeholder: 'A few words about you' /}
{/ui}
{ui textarea} takes the same params as an input: name, value, placeholder, required, disabled, invalid, class and attrs. Put it in a field for a label, a hint and an error.
Height
{ui field, name: 'notes', label: 'Notes'}
{ui textarea,
name: 'notes',
value: 'Line one.',
attrs: ['rows' => 6],
/}
{/ui}
Set the height with rows through attrs.