Textarea

Textarea lets users enter multi-line text.

Read more about this component in the Aksel documentation.

Properties

PropertyDescriptionDefault
Control
Properties
label
required

Label for textarea element.

string Snippet
-
description

Description for textarea element.

string Snippet
-
error

Error message for element.

string
""
errorId

Override internal errorId.

string
"ta-err-" + uid
hideLabel

If enabled shows the label and description for screen readers only.

boolean
false
i18n

i18n translations for counter text.

object
-
id

Override internal id.

string
"ta-" + uid
maxRows

Maximum number of character rows to display.

number
-
minRows

Minimum number of character rows to display when empty.

number
-
resize

Enables resizing of field.

boolean "vertical" "horizontal"
-
size

Changes font-size, padding and gaps.

"medium" "small"
"medium"
value
bindable

Controlled value.

string
""
Slots
label

Label for textarea element.

 -
description

Description for textarea element.

 -

Properties included from: Omit<HTMLTextareaAttributes, "size">