You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/09 12:02:59 UTC

[jira] [Resolved] (WICKET-4386) Add maxlength to wicket-datetime hours, minutes input fields

     [ https://issues.apache.org/jira/browse/WICKET-4386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4386.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0
                   1.5.5
         Assignee: Martin Grigorov
    
> 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
>            Assignee: Martin Grigorov
>            Priority: Minor
>              Labels: html, input, simple, validation
>             Fix For: 1.5.5, 6.0.0
>
>         Attachments: WICKET-4386_patch.diff
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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