Can MaskedTextBox be configured via data attributes?
I tried the following but did not work.
<input data-role='kendo.ui.MaskedTextBox' data-mask='(999) 000-0000' />
Thanks.
Can MaskedTextBox be configured via data attributes?
I tried the following but did not work.
<input data-role='kendo.ui.MaskedTextBox' data-mask='(999) 000-0000' />
Thanks.
Copyright © 2021 Jogjafile Inc.
It can; are you sure you're instructing Kendo UI to initialize the DOM elements (either by calling
kendo.initor by binding a view model)? Both of these work:(demo)