Skip to main content

Textarea



Development

Examples

Basic

PreviewAngularReactVueJavaScript

Disabled

PreviewAngularReactVueJavaScript

Readonly

PreviewAngularReactVueJavaScript

Resize behavior

PreviewAngularReactVueJavaScript

Validation

PreviewAngularReactVueJavaScript

API

Properties

Name
Description and specifications
disabled
Determines if the textarea field is disabled.
Attribute:
disabled
Type:
boolean
Default:
false
helperText
The helper text for the textarea field.
Attribute:
helper-text
Type:
string | undefined
infoText
The info text for the textarea field.
Attribute:
info-text
Type:
string | undefined
invalidText
The error text for the textarea field.
Attribute:
invalid-text
Type:
string | undefined
label
The label for the textarea field.
Attribute:
label
Type:
string | undefined
maxLength
The maximum length of the textarea field.
Attribute:
max-length
Type:
number | undefined
minLength
The minimum length of the textarea field.
Attribute:
min-length
Type:
number | undefined
name
The name of the textarea field.
Attribute:
name
Type:
string | undefined
placeholder
The placeholder text for the textarea field.
Attribute:
placeholder
Type:
string | undefined
readonly
Determines if the textarea field is readonly.
Attribute:
readonly
Type:
boolean
Default:
false
required
Determines if the textarea field is required.
Attribute:
required
Type:
boolean
Default:
false
resizeBehavior
Determines the resize behavior of the textarea field. Resizing can be enabled in one direction, both directions or completely disabled.
Attribute:
resize-behavior
Type:
"both" | "horizontal" | "none" | "vertical"
Default:
'both'
showTextAsTooltip
Determines if the text should be displayed as a tooltip.
Attribute:
show-text-as-tooltip
Type:
boolean | undefined
textareaCols
The width of the textarea specified by number of characters.
Attribute:
textarea-cols
Type:
number | undefined
textareaHeight
The height of the textarea field (e.g. "52px").
Attribute:
textarea-height
Type:
string | undefined
textareaRows
The height of the textarea specified by number of rows.
Attribute:
textarea-rows
Type:
number | undefined
textareaWidth
The width of the textarea field (e.g. "200px").
Attribute:
textarea-width
Type:
string | undefined
validText
The valid text for the textarea field.
Attribute:
valid-text
Type:
string | undefined
value
The value of the textarea field.
Attribute:
value
Type:
string
Default:
''
warningText
The warning text for the textarea field.
Attribute:
warning-text
Type:
string | undefined

Events

Name
Description and specifications
ixBlur
Event emitted when the textarea field loses focus.
Detail:
void
validityStateChange
Event emitted when the validity state of the textarea field changes.
Detail:
ValidityState
valueChange
Event emitted when the value of the textarea field changes.
Detail:
string