Home Reference Source
public class | source

TextBox

Extends:

react~Component → TextBox

Text field component that allows input of characters into single row text box that can configured as a password to hide input.

Static Member Summary

Static Public Members
public static

propTypes: {"ariaLabel": *, "ariaLabelledBy": *, "ariaDescribedBy": *, "onValueChange": *, "password": *, "placeholder": *, "value": *, "disabled": *, "hidden": *, "onKeyUp": *, "onKeyDown": *, "tabIndex": *, "disableSpellCheck": *}

PropTypes

Static Public Members

public static propTypes: {"ariaLabel": *, "ariaLabelledBy": *, "ariaDescribedBy": *, "onValueChange": *, "password": *, "placeholder": *, "value": *, "disabled": *, "hidden": *, "onKeyUp": *, "onKeyDown": *, "tabIndex": *, "disableSpellCheck": *} source

PropTypes

Properties:

NameTypeAttributeDescription
password boolean
  • optional
  • default: false

Displays the text input characters as solid circles instead of readable characters.

placeholder string
  • optional

Text to be displayed when there is no text input.

tabIndex number
  • optional

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