(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Textarea

Overview

Example Textarea

Specs

Tokens

Token Description
displayName Display name in the structure panel.
labelTranslations Field label with multi-language support.
rows Visible height in number of text lines.
counterVisible Shows or hides a character counter.
value Initial text content in the textarea.
placeholder Placeholder text when empty.
saveInLocalStorage Saves content in local storage.
defaultValue Initial value used on reset.
readonly Displays text without allowing edits.
dataField Field name for submitting form data.
controlsRequestType Defines request method: BODY, URL, HEADERS.
validation Configures validation rules.
required Field must be filled before submit.
maxlength Maximum allowed character count.
validated Applies validation to user input.
visibilityPolicySetId Controls visibility with policy sets.
events Configurable component events.
ON_INIT (Events) Triggered on initialization.
ON_DESTROY (Events) Triggered on removal.
ON_VALUE_CHANGE (Events) Triggered on content change.
ON_INIT_BASED_ON_USER_VIEW (Events) Triggered in user view mode.
dataTestId Testing hook ID for automation.

Structure

(Configured in General Properties)

(Configured in Visual Properties)

Textarea structure

(Configured in Non-Visual Properties)

Styling

(Configured in Visual Properties)

Visual Properties tab

Actions & Variants

(Configured in Visual Properties)

(Configured in Event Actions)

Validation

(Configured in Validation Properties)

Authorization

(Configured in Authorization Properties)

Tests

(Configured in Testing Hooks)

Guidelines

Usage

Sizing & Layout

States & Feedback

Data-Driven / Conditional Behavior

Visibility & Authorization

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Set rows to match expected input length. Leave a tiny field for long answers (excessive scrolling). rows
Show a counter when enforcing limits. Enforce maxlength silently. counterVisible, maxlength
Use a clear, localized label. Depend on placeholder as the only identifier. labelTranslations, placeholder
Persist drafts for long entries. Risk data loss on reloads for lengthy inputs. saveInLocalStorage
Require and validate when the field is mandatory. Mark as required but allow submission. required, validated
Use readonly for display-only text. Fake read-only by disabling submission elsewhere. readonly
Map to the correct backend field and channel. Submit under a wrong key or location. dataField, controlsRequestType
Sync app state on user edits. Wait until submit to reflect changes. events.ON_VALUE_CHANGE

Accessibility