We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET Core Blazor Input Mask or masked textbox is a component that provides an easy and reliable way to collect user input based on a standard mask. It allows you to capture phone numbers, date values, credit card numbers, and other standard format values.


Standard mask

The input mask component supports the standard masks listed on MSDN.


Custom mask

Other than the standard mask elements, any custom character also can be a mask element by defining rules for it.


Regular expression

The mask elements can be regular expressions, which is useful when defining user-specific data such as IP addresses.


Mask input combinations

The input mask component allows different mask combinations based on the standard and custom masks. So, you can form different mask formats based on your application scenarios.

Blazor input mask with number masking

Number mask

From the standard mask elements, form a number mask for capturing any finite-length number to get number inputs such as phone numbers and credit card numbers.

Blazor input mask with string masking

String mask

In the case of a country code or product key input, where the input string requires uppercase characters, the string mask format will enforce this.

Blazor input mask with date masking

Date mask

The mask can form any date format to get similarly formatted date values. This is helpful in getting culture-specific date values by defining the corresponding date mask.


Form support and validation

As a form component, the captured value of a masked textbox component proceeds in the raw format when submitting the form.

You can also integrate the form validator plugin to perform any custom validation.


HTML5 input type support

You can create the masked textbox component from the HTML5 tel input. It opens the numeric keypad on mobile devices, which is useful for obtaining phone numbers or any other number-only inputs.

Blazor input mask with mobile numeric keypad support


Web accessibility

  • Fully supports WAI-ARIA accessibility to work with screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Designs the UI element visuals such as foreground color, background color, line spacing, text, and images based on WCAG 2.0 standard.

Developer-friendly APIs

Developers can customize all UI elements and control behaviors of the Blazor input mask according to the end user’s requirements using its rich set of client-side APIs.


Other supported frameworks

As a pure JavaScript component, our Input Mask integrates easily with any web frameworks.


Blazor Components – 60+ UI and DataViz Components

Read independent,
authenticated reviews
on G2 Crowd

Download Now

What do our customers say about us?

Double quotes

Syncfusion controls contain almost everything a developer could ask for, saving us time and money. All backed up by unmatched support. Syncfusion controls are a developer's dream come true.
Kevin Kerr

Kevin Kerr

Kirk-Rudy

Double quotes

I would highly recommend using Essential Studio and have found that the Syncfusion support team is one of the fastest I have worked with.
Georg Kukula

Georg Kukula

G&W Software Entwicklung GmbH

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Syncfusion Awards
Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon