placeholderText

Specifies the text to appear within the TextInput field whenever no text has been entered. (This is often a hint to the user about what data they should enter, for example, “Enter the employee name”.) The placeholder text is automatically removed when the user begins entering data, and is never submitted as the value of the TextInput component.

Type

String or Number

Example

TextInput1.placeholderText = 'Enter the employee name';

Either syntax below can be used in component script:

placeholderText                // unqualified
TextInput1.placeholderText     // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.