The TextField component
TextField components let the user enter text on a single line.

In addition to the properties listed below, this component inherits properties and methods from the superclass Component. For example, any TextField component has a label and defaultValue property even though these are not explicitly listed here.
Properties
| Name | Description | Datatype | Default |
|---|---|---|---|
| errorLabel | Error message to be shown when the value is not valid. Can be left empty. | String | empty |
| showCharCount | Whether or not to show the number of characters entered in the TextArea below the component. | Boolean | False |
| showWordCount | Whether or not to show the number of words entered in the TextArea below the component. | Boolean | False |
See also
- Use a TextArea to allow for multiple lines of input text.