Add maxlength to wicket-datetime hours, minutes input fields
-------------------------------------------------------------
Key: WICKET-4386
URL: https://issues.apache.org/jira/browse/WICKET-4386
Project: Wicket
Issue Type: Improvement
Components: wicket-datetime
Affects Versions: 1.5.0
Environment: na
Reporter: Jim Pinkham
Priority: Minor
I watched an end user type an entire time into the hour component without
tabbing over to the minute.
So, I'd like to suggest a minor change to DateTimeField.html to add the
maxlength="2" to the current size="2" on the hour/min input controls.
I think it might be a simple way to give earlier feedback (I've found it
unwise to rely on instructions like "Please enter dates and times like this..."
).
I can't think of any downside to this addition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira