Textarea
Displays a submenu entry linking to a multi-line text input page.
| Key | Type | Description | Required | Default | Min Version |
|---|---|---|---|---|---|
| maxLength | integer | Max text length | – | INT_MAX | – |
| keyboard | string | Keyboard type | – | Default | – |
| autoCapitalization | string | Auto-capitalization | – | None | – |
| autoCorrection | string | Auto-correction | – | Default | – |
| keyboard | Description |
|---|---|
| Default | System and third-party keyboards |
| Alphabet | ASCII |
| ASCIICapable | ASCII |
| NumbersAndPunctuation | Numbers and punctuation |
| URL | URL |
| NumberPad | Number pad |
| PhonePad | Phone pad |
| NamePhonePad | Name and phone |
| EmailAddress | Email address |
| DecimalPad | Number with decimal point |
| autoCapitalization | Description |
|---|---|
| None | None |
| Sentences | By sentence |
| Words | By word |
| AllCharacters | All characters |
| autoCorrection | Description |
|---|---|
| Default | Default |
| No | Off |
| Yes | On |
Currently not supporting custom font and size.
| Return Type | Description |
|---|---|
| string | Text content |
Theme
| Theme Key | Type | Description |
|---|---|---|
| textColor | Color | Text color |
| caretColor | Color | Caret color |
| placeholderColor | Color | Placeholder color |
Example
{
default = "You can enter any text here...";
cell = "Textarea";
key = "textarea";
label = "A text area";
};
