Instead of only supporting single character masks, I suggest support be added for group masks.
Example:
$("#time").kendoMaskedTextBox({
mask: "HH:MM TT",
rules: {
"HH" : /^(([0]?[1-9])|([1][0-2]))/,
"MM": /(([0-5][0-9])|([1-9]))/,
"TT": /[AaPp][Mm]$/
}
});
or
$("#time").kendoMaskedTextBox({
mask: "t",
rules: {
"t" : /^(([0]?[1-9])|([1][0-2])):(([0-5][0-9])|([1-9])) [AaPp][Mm]$/
}
});
Hello Jan,
Check out the example below that illustrates how the functionality can be implemented:
https://dojo.telerik.com/OHiTITic
Regards,
Viktor Tachev
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.