This is a migrated thread and some comments may be shown as answers.

MaskedTextbox?

1 Answer 210 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Veteran
Iron
Edward asked on 05 Feb 2020, 04:43 PM
     Hello, are there are any plans for a MaskedTextbox component?  I think this is another very popular component that is currently missing from Blazor library.  I can't think of any workarounds for this either.  For example, I have a need for a masked textbox to collect telephone numbers.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 05 Feb 2020, 05:11 PM

Hello Edward,

For anyone else findings this thread, you can Vote for and Follow the implementation of such a component here: https://feedback.telerik.com/blazor/1433593-masked-input-textbox.

I see that you have already voted for it and what I can suggest at this point is to use a regex data annotation attribute and validation. Here's one example of creating several attributes: https://www.aspsnippets.com/Articles/Using-Multiple-Regular-Expression-Regex-Data-Annotation-attributes-in-ASPNet-MVC.aspx. Our inputs validate on ValueChanged so the user will get immediate feedback when entering disallowed symbols.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Tags
General Discussions
Asked by
Edward
Top achievements
Rank 1
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or