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.

Textarea with no binding

Simple textarea with the helptext.

Textarea with prefill

Code snippet for Textarea with prefilled value.

Textarea with binding

Textarea value can be bound to the datamodel and below is the code snippet.

Textarea with transofrmation on binding

Textarea value which is bound to datamodel can be transformed or modified and below is the code snippet.