TextArea
Extends:
react~Component → TextArea
Text field component that allows input of characters into a text field that can be resized and display multiple rows.
Static Member Summary
Static Public Members | ||
public static |
propTypes: {"ariaLabel": *, "ariaLabelledBy": *, "ariaDescribedBy": *, "onValueChange": *, "value": *, "resizable": *, "rows": *, "maxLength": *, "placeholder": *, "disabled": *, "hidden": *, "tabIndex": *, "disableSpellCheck": *} PropTypes |
Static Public Members
public static propTypes: {"ariaLabel": *, "ariaLabelledBy": *, "ariaDescribedBy": *, "onValueChange": *, "value": *, "resizable": *, "rows": *, "maxLength": *, "placeholder": *, "disabled": *, "hidden": *, "tabIndex": *, "disableSpellCheck": *} source
PropTypes
Properties:
Name | Type | Attribute | Description |
tabIndex | number |
|
Sets tabindex attribute on the primary element tag to modify the tab order. |
placeholder | string |
|
Text to be displayed when there is no text input. |
resizable | boolean |
|
Displays a icon in the bottom right of the text field that can be dragged to change the size. |
rows | number |
|
Number of rows displayed. If the text exceeds the number of rows a scroll bar will be displayed. |