TextAreaProps
Represents the props of the KendoReact TextArea component.
Name | Type | Default | Description |
---|---|---|---|
ariaDescribedBy? |
|
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message. | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
autoSize? |
|
Specifies if the textarea element will resize its height automatically (see example).
Defaults to | |
className? |
|
Specifies a list of CSS classes that will be added to the TextArea. | |
defaultValue? |
|
The default value of the TextArea (see example). | |
dir? |
|
Represents the | |
disabled? |
|
Specifies if the TextArea is disabled (see example). | |
fillMode? |
|
|
Configures the The available options are:
|
id? |
|
Sets the | |
name? |
|
Specifies the This property is part of the FormComponentProps interface. | |
placeholder? |
|
The hint that is displayed when the TextArea is empty. | |
readOnly? |
|
Sets the read-only state of the TextArea. | |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
rounded? |
|
|
Configures the The available options are:
|
rows? |
|
Specifies an exact height size for the TextArea to take (see example). | |
size? |
|
|
Configures the The available options are:
|
style? |
|
Sets additional CSS styles to the TextArea. | |
tabIndex? |
|
Sets the | |
valid? |
|
Overrides the validity state of the component.
If This property is part of the FormComponentProps interface. | |
validationMessage? |
|
Controls the form error message of the component. If set to an empty string, no error will be thrown. This property is part of the FormComponentProps interface. | |
validityStyles? |
|
If set to This property is part of the FormComponentProps interface. | |
value? |
|
Sets the value to be submitted (see example). |
Methods
onBlur | ||||||
---|---|---|---|---|---|---|
The event handler that will be fired when TextArea is blurred. | ||||||
|
onChange | ||||||
---|---|---|---|---|---|---|
The event handler that will be fired when the changes the selected value. | ||||||
|
onFocus | ||||||
---|---|---|---|---|---|---|
The event handler that will be fired when TextArea is focused. | ||||||
|