Steps to reproduce (demo):
- Define the mask in markup. Example:
<
input
id
=
"someNumber"
value
=
"003123456"
data-role
=
"maskedtextbox"
data-mask
=
"0000000000"
/>
- Initialize using kendo.init()
Expected results:
Textbox shows prompt chars on focus, only allows characters defined in mask, etc.
Actual results:
Textobx does not show prompt chars on focus (or shows "undefined" if data-clear-prompt-char is set to true), allows any characters.
Other info:
The issue does not happen if a) there is a literal in the mask, or b) the component is initialized through JS, such as $(selector).kendoMaskedTextBox(options).