Skip to main content

Text

The Text component can be used in any form to provide a text field for single-line inputs. It can be configured to be readonly, disabled, required, and can have a placeholder, helper text, and default value.

Examples

A simple text field with a placeholder.

Name will be used for account purposes

Form Data:
{}

Field Properties

Properties used by this field (inside meta field in schema):

NameDescriptionType
displayNameThe label shown above the text fieldstring
displayTypeThe type of the field to be displayedstring
placeholderThe hint shown in the text fieldstring
readOnlyIndicates whether the field is editable; a readonly field's value cannot be changedboolean
isDisabledIndicates whether the field is editable; a disabled field's value cannot be changedboolean
requiredIndicates whether the field is mandatoryboolean
patternA regex pattern that the field value must matchstring
minMinimum length for the field valuenumber
maxMaximum length for the field valuenumber
descriptionHelper text or additional description shown below the text fieldstring
valueThe default value of the fieldstring
allowDynamicEnables static and dynamic input capabilities, allowing user interactions and data injectionboolean