value

Specifies the contents displayed by the TextInput component.

Type

String or Number

Example

if (TextInput1.value > 10000) {
  TextInput1.value = 'Maximum exceeded';
}

Either syntax below can be used in component script:

value                // unqualified
TextInput1.value     // qualified

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