English
latest (v4.7.0)

Textarea KIT

Description and examples API Setup Source code
See also
PrimitiveTextfield, Input

Textfield for multiline input. It can grow with its content.

A simple field and expandable

#

It has a fixed size and content scroll by default. But there is also an expandable mode with height increase from content inside

Custom size

#

You can set a custom min-height for component

7/30

With label outside

#

You can use label outside mode with tuiLabel

With extra characters highlight

#
To highlight extra characters:
  • use maxLength input
  • (Optional) Don't forget to set form validator (for example, Validators.maxLength ) if you want to make field invalid on exceeding the characters limit
116/97
Maximum length — 97

Native attributes

#
If you need to set some attributes or listen to events on native textarea , you can put it inside with Textfield directive as shown below

Direction: RTL

#
84/100