TextFieldDefinition renders a field that allows the user to enter textual values. It is one of the most commonly used UI components.
This text field definition is part of the Magnolia 6 UI framework. The fully qualified class name is
If you work with the Magnolia 5 UI framework, see Text field for Magnolia 5 UI instead.
Example text field definition
Text field properties
Number of rows in the field. When set to
optional, default is
Maximum number of characters allowed in the field. Value of
A counter below the field shows how many characters you have left.