Textinputprops

[中文]

Overview

textInputProps applies to textInput.

Field Table

Key

Type

Default

Binding

UI Effect / Limits

text

string

""

textInputProps.text

current input text

placeholder

string

""

textInputProps.placeholder

placeholder text

password

bool

false

textInputProps.password

whether to enable password display mode

multiline

bool

false

textInputProps.multiline

whether to allow multi-line input

maxLength

integer

0

textInputProps.maxLength

maximum input length; 0 means no extra limit

Example

"textInputProps": {
    "text": "Hello",
    "placeholder": "Type here",
    "password": false,
    "multiline": false,
    "maxLength": 32
}