TextArea input type
Contents
A plain text, multi-line input field.
Usage
- type: "TextArea"
name: "my_textarea"
label: "My TextArea"
default: "Default text goes here" (1)
max-length: 42 (2)
show-counter: true (3)
| 1 | default specifies the default string for the TextArea |
| 2 | max-length specifies the maximum allowed number of characters (default: unlimited) |
| 3 | show-counter specifies whether text length counter should be shown (default: hidden) |
| Contents of TextArea support browser based spellcheckers in the same way as described for TextLine. |
Output
Value type: String — included in _alltext
{
"my_textarea": "This is plain text.\nLine breaks are preserved."
}
Multiple occurrences
{
"my_textarea": [
"First paragraph.",
"Second paragraph."
]
}