Textarea field
The textarea field allows the editor to enter multiple lines of text.
myTextareaField:
type: textarea
This field definition creates the following input in the control panel:

Attributes
| Property | Description |
|---|---|
| group | Starts a new field group. |
| instructions | Additional instructions for this field in the control panel. Will be shown beneath the field label. |
| label | The primary `label` of the input field in the control panel. When omitted, a label will be generated from the name of the field. |
| rules | The validation rules of the field. |
| translatable | Defines whether the text field will be translated when synchronizing content fields across sites. Defaults to false. |
| width | The width of the field in the control panel. |
translatable
Defines whether the text field will be translated when synchronizing content fields across sites. Defaults to false.
translatable: true
Templating
Printing the textarea field returns the textual contents of the field.
label: Textarea field demo
fields:
textareaField:
type: textarea
---
<p>{{ textareaField }}</p>
html
Returns the contents of the textarea field as a twig html node.
<p>{{ textareaField.html }}</p>