Posted 12 years ago by Mike Strobel - Software Engineer, CDC Software
I encountered a usability issue in the "DateTimeEditBox Constraints" QuickStart. To reproduce, check the box to "Restrict to business hours (8am - 5pm)". The initial time is now "8:00:00 AM". If you start to edit the time and type "4:", with the intention of typing in a complete value of "4:00:00 PM", the hour field gets reset back to "8" because the AM/PM part is initially set to "AM", and "4:00:00 AM" is outside the allowed value range. The user must first move to the AM/PM part and change it to PM before entering "4" as the hour. In my opinion, this is a usability problem. Perhaps the time should only be validated once the editor loses focus or the last part is changed?