textArea
textArea
is a multi-line text editor field.
-
XML element:
textArea
-
Java class:
JmixTextArea
Basics
textArea
mostly replicates the functionality of the textField component.
Unless set to a fixed height, textArea
adjusts its height automatically based on its content. The default and minimum height is two rows of text.
An example of textArea
:
<textArea label="Description"
width="300px"
value="A marketing department is a group of marketing specialists responsible for planning, creating, and monitoring marketing activities within a company"/>
Attributes
id - allowedCharPattern - autocapitalize - autocomplete - autocorrect - autofocus - autoselect - classNames - clearButtonVisible - colspan - dataContainer - enabled - errorMessage - height - helperText - invalid - label - maxHeight - maxWidth - minHeight - minWidth - pattern - placeholder - property - readOnly - required - requiredIndicatorVisible - themeNames - value - valueChangeMode - valueChangeTimeout - visible - width
Handlers
AttachEvent - BlurEvent - ClientValidatedEvent - ComponentValueChangeEvent - CompositionEndEvent - CompositionStartEvent - CompositionUpdateEvent - DetachEvent - FocusEvent - InputEvent - KeyDownEvent - KeyPressEvent - KeyUpEvent - statusChangeHandler - validator
To generate a handler stub in Jmix Studio, use the Handlers tab of the Jmix UI inspector panel or the Generate Handler action available in the top panel of the view class and through the Code → Generate menu (Alt+Insert / Cmd+N). |
See Also
See the Vaadin Docs for more information.