Attribute Type Documentation Default Value
id :string

Id for the textarea html tag

name :string

Name of the textarea html tag

label :string

Textarea label

placeholder :string

Textarea placeholder

"Placeholder"
value :string

Textarea value

rows :integer

Textarea number or rows

3
disabled :boolean

Disable state flag

false
readonly :boolean

Read only state flag

false
class :string

Additional styles for the textarea

error :boolean

Error state flag

false
required :boolean

Required flag

false
field %FormField{}

A form field struct retrieved from the form, for example: @form[:comment]

rest :global

Extra attributes for the textarea

hint :slot

Information or Error massage

Show slot attributes Hide slot attributes
class :string

Additional style classes for the textarea hint