How bind together FormControl pattern and Mask for same TextBox

1 Answer 181 Views
MaskedTextBox
vamaw
Top achievements
Rank 1
Iron
Iron
vamaw asked on 18 Jun 2021, 01:31 PM

Hi,

 

I search an elegant way for connecting together mask field and control of this field only in typescript.

Do you have an template ?

I want avoid two separate datas for same field

 

Regards

 

 

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 23 Jun 2021, 07:39 AM

Hello Vamaw,

Currently, the right way to go when setting a specific mask to the MaskedTextBox component is by setting the mask property.

https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/masks/

Indeed there is no built-in method that can be used to set it from the TypeScript code.

Let me know if there is anything else I can help with.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
MaskedTextBox
Asked by
vamaw
Top achievements
Rank 1
Iron
Iron
Answers by
Martin Bechev
Telerik team
Share this question
or