ETextArea Text area
Examples
Multiline input, word count and autosize
Text area
Properties
adaptiveHeightboolAdjust height automatically to text content.
trueautosizevarResize the text area height to its content, with optional row limits.
true / false
Object fields: minRows, maxRows
undefinedenabledboolAllow interaction; false disables the control.
truefontfontFont settings for the family, size and text style.
Common fields:
family, pixelSize, pointSize
bold, italic, weight
underline, strikeout
letterSpacing, wordSpacing
application fontheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeightmaximumLengthintMaximum allowed input characters.
2147483647placeholderTextstringPlaceholder shown when the value is empty.
""readOnlyboolPrevent user editing or rating while allowing programmatic value changes.
falseresizestringDirections in which the user can resize the text area.
"none" / "vertical""horizontal" / "both"
"none"rowsintText rows or skeleton rows.
1showWordLimitboolShow the current character count and length limit.
falsesizeintControl size; inherits the nearest EConfigProvider by default.
EStyle.SmallEStyle.MediumEStyle.Large
Inherited; EStyle.Medium by defaultstyleTypeintSemantic color style.
EStyle.DefaultEStyle.PrimaryEStyle.SuccessEStyle.InfoEStyle.WarningEStyle.Danger
EStyle.DefaulttextstringDisplayed text.
""textColorcolorText color.
Dynamic bindingvalidateEventboolRequest enclosing-form validation when the value changes.
truevalidationMessagestringValidation message or externally supplied error text.
""validationStateintInput validation state.
EValidationState.NoneEValidationState.SuccessEValidationState.WarningEValidationState.Error
EValidationState.NonevisibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidthautomaticHeightrealRead onlyAutomatic text-area height derived from rows and content.
Computed at runtimehasValidationErrorboolRead onlyWhether validation state is Error.
Computed at runtimelineHeightrealRead onlyText line height derived from font size.
Computed at runtimemaximumRowsrealRead onlyMaximum or minimum rows allowed by auto-sized text areas.
Computed at runtimeminimumRowsintRead onlyMaximum or minimum rows allowed by auto-sized text areas.
Computed at runtimewordCountintRead onlyCurrent input character count.
Computed at runtime