Select theme:

Material 3
warning

You are viewing the legacy Radzen documentation.

Radzen Blazor Studio has replaced Radzen as the primary RAD tool for Blazor applications.

Radzen Blazor Studio offers a modern UI, enhanced features, and improved performance to streamline your development process.

The latest documentation for Radzen Blazor Studio is available here: https://www.radzen.com/blazor-studio/documentation/

Open Radzen Blazor Studio docs

Mask (Angular)link

This guide demonstrates how to use the Mask component.

Mask Propertieslink

NameTypeDefaultDescription
Namestring'mask' + index suffixUnique name of the Mask.
Valuestring/expressionnullMask value.
PlaceholderstringemptyMask placeholder.
MaskstringnullMask pattern.
SizeintegernullSize of the input field.
MaxlengthintegernullMaximum number of character allows in the input field.
ReadOnlyboolean/expressionfalseIs Mask read-only.
Disabledboolean/expressionfalseIs Mask disabled.
Visibleboolean/expressiontrueIs Mask visible.
autoClearboolean/expressiontrueClears the incomplete value on blur.
unmaskboolean/expressionfalseDefines if ngModel sets the raw unmasked value to bound value or the formatted mask value.

image

For more info about expressions please visit expressions in our documentation.

Angular declarationlink

<rz-mask #mask0 mask="99-9999" placeholder="Enter here ..." name="mask0">
</rz-mask>

© 2016-2025 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.

Select theme:

Material 3