textarea
This component represents a multi-line text field.
Configuration
For general configuration options, see General component configuration.
Specific configuration
type("textarea")-
Type of component.
value(Binding | string)-
Value of the field.
General configuration
In addition to the configurations valid for all Configurationsthe following configurations can optionally be set: disabled, errorTarget, icon, labels, label Settings, onChange, readOnly, required.
Example
textarea.json
{
"$schema": "https://forms.virtimo.net/5.1.0/schema.json",
"metaData": {
"id": 0,
"version": 0
},
"configuration": {
},
"components": [
{
"type": "container",
"label": "Textarea Component Example",
"components": [
{
"type": "textarea",
"label": "My Textarea",
"value": "Hello World\nnice to meet\nyou"
},
{
"type": "textarea",
"value": "${/data/text}"
}
]
}
],
"state": {
"data": {
"text": "Some Text"
}
}
}
Embedded preview
Keywords: