A textarea widget in Aria Templates will have a label and input text where users can enter multi-line text. Textareas in templates can be used in different ways i.e with no bindings, with prefill values, with bindings and transformation on bindings, examples of which can be found below.
A simple way to add Textarea widget to the application is as follows
The whole list of configuration parameters is available in Textarea.
Simple textarea with the helptext.
Code snippet for Textarea with prefilled value.
Textarea value can be bound to the datamodel and below is the code snippet.
Textarea value which is bound to datamodel can be transformed or modified and below is the code snippet.