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. Image for the cookie policy date

What would be the mask used for a currency?

Hello,

For a masked text box, what is the correct mask to use for currency?

Also, is there a way to apply the mask directive to a regular input and not the ejs-maskedtextbox control?

Thanks!


1 Reply

SP Sureshkumar P Syncfusion Team January 13, 2023 11:20 AM UTC

Hi Paul,

Query 1: For a masked text box, what is the correct mask to use for currency?

We have given the mask support based on MSDN standard mask. To know more about the mask character supports please refer to the documentation: https://ej2.syncfusion.com/aspnetcore/DropDownList/DropdownListFor#/bootstrap5

Query 2: is there a way to apply the mask directive to a regular input and not the ejs-maskedtextbox control?

You can use our numerictextbox component as format value as “C2” to achieve your requirement.

To know more about the currency format and textbox, please refer to the online demo sample here: https://ej2.syncfusion.com/angular/demos/#/bootstrap5/numerictextbox/default

Regards,

Sureshkumar P


Loader.
Up arrow icon