The read-only property available on most kendo input fields isn't obvious enough for the end user that a field is disabled. It is a source of confusion as it makes the form look broken rather than read-only. Adding k-state-disabled is important from a form readability perspective, thus it would be very helpful if that class was made available on dropdown lists and masked textboxes so they match the textboxes on forms without having to selectively apply additonal CSS.5 votes
Given a pattern of "90:00", if someone types '2:' it will presently reject the ':'
What would be better is a pattern of "9?0:00" where the '?' indicates an optional character. Then if someone types "2:" it could recognize the optional character and automatically insert a space.
The same would apply for dates, e.g. "00/00/0000", would become "0?0/0?0/0000" and then you could type "2/4/2015" and it would insert the spaces
The benefit of this is that the user can see what format is expected but can also type in a faster manner2 votesKenshin, Kendo UI Team responded
Thanks for the proposal.
Since this would require rather specific logic for masked textbox value parsing, you may consider using standard textbox and your own custom logic with appropriate regex definition. Also feel free to share your own implementation here, if you come up with such.
We could hardly support this behavior out-of-the-box.
For certain web pages that require editing speed while using masked input controls, it slows down data entry when a user clicks on a masked input expecting the text cursor to be where they clicked when instead it highlights the entire text box.4 votes
Instead of only supporting single character masks, I suggest support be added for group masks.
mask: "HH:MM TT",
"HH" : /^((?[1-9])|([0-2]))/,
"t" : /^((?[1-9])|([0-2])):(([0-5][0-9])|([1-9])) [AaPp][Mm]$/
Method to modify mask in MaskedTextbox6 votes
- Don't see your idea?