TextArea

TextArea is a multi-line text editor field.

Component’s XML-name: textArea.

Basics

TextArea mostly replicates the functionality of the TextField component.

An example of the TextArea:

<textArea id="textArea"
          rows="7"
          caption="Text area with 7 rows"/>
text area

Attributes

TextArea has the following specific attributes:

  • rows - set the number of rows of text. The value of height has priority over the value of rows.

  • wordWrap - set this attribute to false to turn off word wrapping.

Listeners

TextChangeListener and ValueChangeListener work in the same way as in the TextField.

Styles

Styling is identical to TextField component.