Adornments
The TextArea provides the option for adding custom items as suffix adornments by using the TextAreaSuffixComponent.
The following example demonstrates how to add adornments to the TextArea.
Flow Direction
The TextArea provides the option for specifying the flow direction of its sections (the internal textarea
element and its suffix containers). Be default, they are placed vertically. To change the direction, set the flow
option of the TextArea to horizontal
.
Disabling Adornments
You can control the disabled state of the adornments inside the suffix container.
The following example demonstrates how to set the disabled
property of the buttons that are used as adornments when you disable the TextArea.