
Configuring the text area element
Text area generic settings
These settings added in the Generic tab are available and they apply to all platforms including Web, iOS, and Android:Process data key
Process data key creates the binding between form element and process data, so it can be later used in decisions, business rules or integrationsProperties
- Label: The visible label for the text area element.
- Placeholder: Text that appears within the text area when it is empty.
- Has clear: Option to include a content clear mechanism. The clear icon shows only while the text area has a value and is not disabled.
- Helpertext: Additional information about the text area field (can be hidden inside an infopoint).
- Update on blur: Update behavior triggered when the text area loses focus.
Datasource configuration
The default value for the element can be configured here, this will autofill the text field when you will run the process.Validators
The following validators can be added to a text area:required, minlength, maxlength, pattern, customExpression and custom. For more information, see the validators documentation.
Hide/disable expressions
The text area’s behavior can be defined using JavaScript expressions for hiding or disabling the element. The following properties can be configured for expressions:- Hide condition: A JavaScript expression used to hide the text area when it is evaluated to your desired result.
- Disable condition: A JavaScript expression used to disable the text area when it returns a truthy value

In the example above, we used a rule to hide a text area element if the value of the switch element above is false.
Hide expression example
We will use the key defined on the switch element to create a JavaScript hide condition to hide the text area element:
- Rule used:
- Result:

Disable example
For example, you can use a disabled condition to disable a text area element based on what values you have on other elements.
- Rule used:
A disabled condition doesn’t need a matching hide condition: each one works on its own. Hidden and disabled fields are both left out of validation.
Event handlers
Event handlers can be added to the text area field to define its behavior and interactions.- Trigger: On change (
CHANGE). - Action type: Select the type of the action to be performed.
Text area settings overrides
There are instances where you may need to tailor settings configured in the Generic settings tab. This proves especially beneficial when you wish to adjust these settings to appear differently across various platforms such as Web, Android, or iOS. Available override settings:- Properties:
- Label: Override the text area label.
- Helper: Override helper text/info point.
- Placeholder: Override the placeholder.
- Expressions:
- Hide: Override the hide expression.
Text area styling
- Web
- iOS
- Android
- Sizing
- Spacing
- Grid child
Fit W (fit width)
Adjusting the size of components is crucial for a responsive design. Fit W (width) offers three options:- Fill: Fills the available space.
- Fixed: Maintains a fixed width.
- Auto: Adjusts the width automatically based on content.
Fit H (fit height)
- Fixed: Maintains a fixed height (pixels)
- Auto: Adjusts the height automatically based on the content.
Rows
Shown only when Fit H is Auto. Switching Fit H away from Auto clears both values.- Min rows: Sets the minimum number of rows.
- Max rows: Sets the maximum number of rows. Min rows can’t be greater than Max rows.
Text area style overrides options
Theme overrides refer to the ability to modify or customize the appearance and behavior of UI components by overriding default theme settings. This can be applied at various levels, such as specific elements or entire sections, and can be platform-specific (Web, iOS, Android).
Common Properties
Common Properties
- Border radius [NUMBER]
- Border width [NUMBER]
- Font [FONT]
Label
Label
- Default state
- Text [COLOR]
- Disabled state
- Text [COLOR]
- Font [FONT]
Helper
Helper
- Text [COLOR]
- Font [FONT]
- Helper tooltip
- Font [FONT]
- Text [COLOR]
- Background [COLOR]
- Icon [COLOR]
Error
Error
- Text [COLOR]
- Font [FONT]
Empty state
Empty state
- Border [COLOR]
- Background [COLOR]
- Placeholder [COLOR]
Active state
Active state
- Border [COLOR]
- Background [COLOR]
- Text [COLOR]
- Placeholder [COLOR]
Filled state
Filled state
- Border [COLOR]
- Background [COLOR]
- Text [COLOR]
- Placeholder [COLOR]
Disabled state
Disabled state
- Border [COLOR]
- Background [COLOR]
- Text [COLOR]
- Placeholder [COLOR]
Error state
Error state
- Border [COLOR]
- Background [COLOR]
- Text [COLOR]
- Placeholder [COLOR]
Hover state (only for Web configuration)
Hover state (only for Web configuration)
- Border [COLOR]
- Background [COLOR]
- Text [COLOR]
- Placeholder [COLOR]
To reuse theme overrides on another platform without configuring them again, open the â‹® menu next to Theme overrides and pick Copy from <platform> or Copy to <platform>.



