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

NameDescriptionDatatypeDefault
errorLabelError message to be shown when the value is not valid. Can be left empty.Stringempty
labelPositionPosition of the label with respect to the textfield. Can be 'right', 'left', 'top' or 'bottom'.String'top'
multipleWhether or not multiple values can be entered.BooleanFalse
tableViewWhen true and the component is part of an EditGrid, the component's value is shown (simplified) in the collapsed row of the EditGrid.BooleanTrue

See also

  • Use a TextArea to allow for multiple lines of input text.