Kendo UI for Angular MaskedTextBox Overview

The Kendo UI for Angular MaskedTextBox enables you to control the user input by using a mask.

The MaskedTextBox Component is part of Kendo UI for Angular, a professional grade UI library with 100+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

The following example demonstrates the MaskedTextBox in action.

View Source
Edit In Stackblitz  
Change Theme:

Key Features

  • MasksYou can use the predefined mask rules of the MaskedTextBox to require a specific type of user input such as digits, spaces, letters, and more.
  • ValidationThe MaskedTextBox delivers a built-in mask validator which ensures that the user input is valid.
  • Forms supportYou can use the MaskedTextBox both in template-driven and reactive Angular forms.
  • ValueThe MaskedTextBox provides settings for formatting its visible (masked) value.
  • Disabled MaskedTextBoxYou can use the configuration options of the MaskedTextBox to disable the component so that users are not able to interact with it.
  • Read-only MaskedTextBoxThe MaskedTextBox provides an option for overriding its default active state.
  • Debouncing value changesAll Kendo UI for Angular Inputs enable you to implement a slight delay before they accept a new input value.
  • AppearanceAll Kendo UI for Angular Inputs enable you to set their dimensions.
  • GlobalizationAll Kendo UI for Angular Inputs provide globalization options.
  • AccessibilityThe MaskedTextBox is accessible for screen readers and supports WAI-ARIA attributes.
  • Keyboard navigationThe MaskedTextBox supports a number of keyboard shortcuts for processing various commands.

In this article

Not finding the help you need?