Text Input mobile component
Enter a single line of text.
An input field to enter a single line of text. Mobile Text Input supports prefix and suffix icons, and automatic capitalization.
autoCapitalizeboolean
Whether to automatically capitalize text input when using a virtual keyboard.
autoResizeboolean
Whether the input field automatically grows with its content.
customValidationstring
A JavaScript conditional statement for custom validation logic. If the statement evaluates to a string, validation fails and it is rendered as the error message. An empty or nullish value is treated as valid input.
disabledboolean
Whether user input, interaction, or selection is disabled.
formDataKeystring
The key used by a Form component to assign default values to input fields using form.initialData
, and to construct the form.data
property.
hiddenboolean
Whether the component is visible.
hideValidationMessagestring
Whether to hide the validation message if the input is invalid.
iconAfterIconKey
The icon to display after the primary content.
iconBeforeIconKey
The icon to display before the primary content.
idstring
The name of the component.
invalidboolean
Whether the current value has failed any validation rules.
labelstring
The input label.
labelCaptionstring
The additional text to display with the label.
maxLengthnumber | null
The maximum length of text allowed.
maxLinesnumber | null
The maximum number of lines to display.
minLengthnumber | null
The minimum length of text allowed.
minLinesnumber | null
The minimum number of lines to display.
pattern'email' | 'url' | 'regex' | null
The validation pattern to enforce.
placeholderstring
The placeholder text for the input.
pluginTypestring
The component type.
requiredboolean
Whether the input is required for validation.
validationMessagestring
The validation message to display if the input is invalid.
valuestring
The value of the component.