Is it possible to get this format to work with a password field or text file ??

1 Answer 26 Views
MaskedTextBox
navapon
Top achievements
Rank 1
navapon asked on 04 Jan 2022, 06:54 AM

 

Is it possible to get this format to work with a password field? For example, if I wanted to be able to add hyphens to a private number but still keep it masked with asterisks so that as the user typed, it would appear as shown in the image?

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 06 Jan 2022, 02:20 PM

Hi Navapon,

The Kendo UI MaskedTextBox is an input element which if the text contains a dash or space and is type password, all characters will be concealed with asterisks.  Additionally, each browser handles how the password type will be displayed differently.  For example, Microsoft Edge allows a reveal icon to be customized with a standard input textbox. As a reference, the following Progress Kendo UI Dojo shows one way a Kendo UI MaskedTextBox can be set to toggle the input type from password to text.

That being said, I have created a feature request with a vote on your behalf asking for the Kendo UI MaskedTextBox to be configurable to show specific characters when set to type password.  Please feel free to add any comments to the request, and follow it for potential updates.  

Regards,
Patrick | Technical Support Engineer, Senior
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
navapon
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or