Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4386

Add maxlength to wicket-datetime hours, minutes input fields

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. WICKET-4386_patch.diff
          1.0 kB
          Tom Götz

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            pinkhamj@gmail.com Jim Pinkham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified