Home Reference Source
public class | source

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:

NameTypeAttributeDescription
tabIndex number
  • optional

Sets tabindex attribute on the primary element tag to modify the tab order.

placeholder string
  • optional

Text to be displayed when there is no text input.

resizable boolean
  • optional
  • default: true

Displays a icon in the bottom right of the text field that can be dragged to change the size.

rows number
  • optional
  • default: 2

Number of rows displayed. If the text exceeds the number of rows a scroll bar will be displayed.