Skip to main content

The Text Area component for Retool Mobile

Properties

All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.

autoCapitalize

The type of automatic capitalization that the browser can automatically perform when using virtual or on-screen keyboards.

Type string
Format Plain Text
Configurability Inspector > Interaction > Advanced > Capitalize
Allowed Values
ValueDescription
none

No capitalization.

sentences

Capitalize sentences.

words

Capitalize words.

characters

Capitalize characters.

Defaultnone
Examples
false"words"

autoComplete

Whether the browser can perform autocomplete on the input field.

Type boolean
Format True/False
Configurability Inspector
Defaultfalse
Examples
falsetrue

autoCorrect

Whether to automatically correct the input.

Type boolean
Format True/False
Configurability Inspector
Defaultfalse
Examples
falsetrue

autoResize

Whether the input field expands to accommodate larger amounts of content.

Type boolean
Format True/False
Configurability Inspector
Defaulttrue
Examples
falsetrue

disabled

Whether input, interaction, selection, or triggering is disabled.

Type boolean
Format True/False
Configurability Inspector > Interaction > Disabled
Defaultfalse
Examples
falsetrue

hidden

Whether this object is hidden from view.

Type boolean
Format True/False
Configurability Inspector > Appearance > Hidden
Defaultfalse
Examples
falsetrue

Examples
false/icon:bold/shopping-gift

Examples
false/icon:bold/shopping-gift

Examples
false"Label"

labelCaption

The additional text to display with the label.

Type string
Format Plain Text
Configurability Inspector > Content > Add-ons > Label > Caption
Defaultnull

Examples
false100

maxLines

The maximum number of lines to show.

Type number
Configurability Inspector
Defaultnull

Examples
false20


pattern

A regular expression (regex), without forward slashes around the pattern, to validate input if patternType is regex.

Type string
Format Regular Expression
Configurability Inspector > Interaction > Validation rules > Regex
Defaultnull
Examples
false^[a-zA-Z0-9]+$

patternType

The pattern with which to validate the input.

Type string
Format Plain Text
Configurability Inspector
Allowed Values
ValueDescription
email

Email address.

regex

Regular expression statement.

url

URL.

Defaultnull

placeholder

The text to display within the input field when there is no value.

Type string
Formatstring
Configurability Inspector > Content > Placeholder
DefaultEnter a value
Examples
falseEnter a value

value

The value.

Type string | number | boolean | object | array
Configurability Read-only
Defaultnull

Events

Events triggered by user interactions. You can configure event handlers in the IDE to trigger queries or other actions in response to events.

EventDescription