|
id
|
:any
|
|
|
|
|
name
|
:any
|
HTML name attribute for form submission
|
|
|
|
value
|
:any
|
|
|
|
|
field
|
%FormField{}
|
a form field struct retrieved from the form
|
|
|
|
label
|
:string
|
text label displayed above the textarea
|
|
|
|
placeholder
|
:string
|
placeholder text shown when empty
|
|
|
|
rows
|
:integer
|
number of visible text rows
|
3
|
|
|
cols
|
:integer
|
number of visible text columns
|
|
|
|
size
|
:string
|
|
"md"
|
|
|
variant
|
:string
|
the textarea style variant (ghost, filled, bordered)
|
"bordered"
|
|
|
color
|
:string
|
|
"primary"
|
|
|
resize
|
:string
|
|
"vertical"
|
|
|
helper
|
:string
|
helper text displayed below the textarea
|
|
|
|
errors
|
:list
|
list of error messages to display
|
[]
|
|
|
disabled
|
:boolean
|
|
false
|
|
|
horizontal
|
:boolean
|
horizontal layout (label beside input)
|
false
|
|
|
state
|
:string
|
validation state (applies form-group-success/warning)
|
|
|
|
readonly
|
:boolean
|
makes the textarea read-only
|
false
|
|
|
required
|
:boolean
|
marks the textarea as required
|
false
|
|
|
maxlength
|
:integer
|
|
|
|
|
class
|
:any
|
additional CSS classes for the wrapper
|
|
|
|
label_class
|
:any
|
additional CSS classes for the label
|
|
|
|
textarea_class
|
:any
|
additional CSS classes for the textarea element
|
|
|
|
rest
|
:global
|
|
|
|