MaskedTextBox Overview
The MaskedTextBox uses a mask to control the input of the user.
You can define the specific format by using the mask
option of the component. Each mask can contain mask rules and mask literals. The mask literals are automatically entered for the user and cannot be removed. When the MaskedTextBox initializes, it decorates the <input>
element with a k-textbox
CSS class.
The MaskedTextBox supports the following predefined rules:
- Required or optional digit input.
- Required or optional letter input.
- Required or optional character input (allows any character).
The MaskedTextBox wrapper for Vue is a client-side wrapper for the Kendo UI MaskedTextBox widget.
Basic Usage
The following example demonstrates the MaskedTextBox in action.