The TextBox is a UI component that allows users to enter and edit a single line of text. This demo illustrates the following TextBox properties:
A value the TextBox displays.
An input prompt the TextBox displays when the value is not defined.
Specifies whether to display the button that clears the TextBox value.
Affects a set of keyboard characters displayed on a mobile device when the TextBox gets focus and modifies the component's display style. In this example, the mode is set to "password" so that entered characters are obscured, and the password cannot be read.
An input mask.
Custom mask rules.
Specifies whether the TextBox responds to user interaction.
onValueChanged event handler
Use this function to perform an action when a user enters a new value. In this demo, this function uses the entered value to construct a dummy email address and assign it to another TextBox.
One or several DOM events that trigger the onValueChanged event handler.
Prevents users from changing the editor's value.
Specifies whether the TextBox responds when users long press or hover the mouse pointer over it.
If you have technical questions, please create a support ticket in the DevExpress Support Center.