Skip to main content

Textarea

The textarea field is used for capturing multi-line text inputs. It is ideal for messages, comments, or any form of longer textual content.

Example

fields:
  message:
    type: textarea
    label: Your Message
    placeholder: Write your message here
    rows: 8
    resizable: vertical

Field Properties

Name Type Default Description
aria string

Optional aria label for better accessibility.

autofocus bool false

Set autofocus on field.

error string | array

Costum error message for translation or customization.

help string | array

Optional help text below the field

label string | array

The field label can be set as string or associative array with translations

placeholder string | array

Optional placeholder value that will be shown when the field is empty.

required bool

Defines whether the field is mandatory for form submission.

resizable string

Controls whether the textarea is resizable by the user.

Possible values:
vertical: Allows vertical resizing only.
none: Disables resizing.

rows int 6

Specifies the initial height of the textarea in terms of visible lines.

title string | array

Tooltip displayed when the user hovers over the field (supports multilingual configurations).

width string 1/1

The width of the field in the 12 columns field grid.