textArea 文本域
基本用法
textArea
的功能与 textField 基本相同。
如果未设置固定高度,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"/>

XML 属性
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
事件和处理器
AttachEvent - BlurEvent - ClientValidatedEvent - ComponentValueChangeEvent - CompositionEndEvent - CompositionStartEvent - CompositionUpdateEvent - DetachEvent - FocusEvent - InputEvent - KeyDownEvent - KeyPressEvent - KeyUpEvent - statusChangeHandler - validator
在 Jmix Studio 生成处理器桩代码时,可以使用 Jmix UI 组件面板的 Handlers 标签页或者视图类顶部面板的 Generate Handler 添加,也可以通过 Code → Generate 菜单(Alt+Insert / Cmd+N)生成。 |