0

Does anyone know how to get a Kendo Numeric TextBox to display asterisks as the user types them in? type="password" does not work. Thanks.

Here is my code:

<input type="password" id="login_screen_password" data-bind="value: login_screen_password" />


    $('#login_screen_password').width(100).kendoNumericTextBox({
    format: "#",
    min: 1111,
    max: 9999,
    spinners: false
});
$('#login_screen_password').attr('maxlength', '4');   // limit length of numbers inputted
Amal Dev
  • 1,938
  • 1
  • 14
  • 26
xinthose
  • 3,213
  • 3
  • 40
  • 59

1 Answers1

1

Why are you using Kendo NumericTextBox for this ? You can achieve the same using normal textbox also, please see the fiddle here

<input type="password" id="login_screen_password" data-bind="value: login_screen_password" pattern="^[0-9]{1111,9999}$" />
Amal Dev
  • 1,938
  • 1
  • 14
  • 26