var value = '5189609249',
mask = '(###) ###-####',
maskedValue = kendo.mask(value, mask),
unmaskedValue = kendo.unmask(maskedValue, mask);
Lets take the Credit Card Input on the Example-Page: It's prefilled with 1234 1234 1234 1234 When my Number is 1234 1299 1234 1234 i don't want to type it all again, but i set my focus behind the second 2 and start Typing 99 focus: 1234 12|34 1234 1234 value after typing: 1234 1299 3412 3412 expected value: 1234 1299 1234 1234 The MaskedTextbox seems to insert typed characters and push every other input down in the Mask. But since i am having a Mask when i move to a position, i want to overwrite that single place - leaving the rest of the input intact.
I had a look at the Dojo Demo and made some changes to have prefix to the maskedtext. But on the first load if there are no match to the masked Text in this example an empty string , the prefix does not appear until unless clicked on the input. This causes a problem because the input should have the prefix regardless of any event occurring on it., and not null
Is there any way I can have the input populated with the prefix on load if the value has no match in masked text.
http://dojo.telerik.com/UbiWAPAV/2
Hi Team,
I'd like to request the functionality to allow the Kendo UI MaskedTextBox to show specific characters when it is set to type "password". This way, it retains the mask with asterisks, but also displays any characters like hyphens.
Thank you!
1. Navigate to: https://dojo.telerik.com/@PMcDonou/UVIXEPOk
2. Enter a space in maskedtextbox
Result: space is accepted as a valid character
Expected: space should be prevented
Workaround: Use '\u2000' for promptChar instead of space