Textarea - Code
Basic
Disabled
Readonly
Resize behavior
Validation
API for ix-textarea
Properties
Determines if the textarea field is disabled.
disabledbooleanfalseThe helper text for the textarea field.
helper-textstring | undefinedThe info text for the textarea field.
info-textstring | undefinedThe error text for the textarea field.
invalid-textstring | undefinedThe label for the textarea field.
labelstring | undefinedThe maximum length of the textarea field.
max-lengthnumber | undefinedThe minimum length of the textarea field.
min-lengthnumber | undefinedThe name of the textarea field.
namestring | undefinedThe placeholder text for the textarea field.
placeholderstring | undefinedDetermines if the textarea field is readonly.
readonlybooleanfalseDetermines if the textarea field is required.
requiredbooleanfalseDetermines the resize behavior of the textarea field.
Resizing can be enabled in one direction, both directions or completely disabled.
resize-behavior"both" | "horizontal" | "none" | "vertical"'both'Determines if the text should be displayed as a tooltip.
show-text-as-tooltipboolean | undefinedThe width of the textarea specified by number of characters.
Will be overridden by textareaWidth prop if both are set.
textarea-colsnumber | undefinedThe height of the textarea field (e.g. "52px").
Will take precedence over textareaRows prop if both are set.
textarea-heightstring | undefinedThe height of the textarea specified by number of rows.
Will be overridden by textareaHeight prop if both are set.
textarea-rowsnumber | undefinedThe width of the textarea field (e.g. "200px").
Will take precedence over textareaCols prop if both are set.
textarea-widthstring | undefinedThe valid text for the textarea field.
valid-textstring | undefinedThe value of the textarea field.
valuestring''The warning text for the textarea field.
warning-textstring | undefinedMethods
Events
Event emitted when the textarea field loses focus.
ixBlurvoidEvent emitted when the textarea field loses focus and the value has changed.
ixChangestringEvent emitted when the validity state of the textarea field changes.
validityStateChangeValidityStateEvent emitted when the value of the textarea field changes.
valueChangestring