Select theme:

Mask (Angular)Link to this section

This guide demonstrates how to use the Mask component.

Mask PropertiesLink to this section

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 to this section

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

© 2016-2026 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.
IP Geolocation by DB-IP

Select theme: