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

DatePicker: NaN if numerical input cannot be parsed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta3
    • Fix Version/s: 1.3.1
    • Component/s: wicket-datetime
    • Labels:
      None
    • Environment:
      firefox 2.0.0.6

      Description

      We have a DatePicker added to a DateTextField. If the input in the textfield is numerical but not a correct Date, for example 123, the DatePicker shows a calendar with only NaN.

      When the input is either correct of completely wrong ("xxx") the DatePicker works fine.

        Attachments

        1. WICKET-989.patch
          0.9 kB
          Gerolf Seitz

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ivana Ivana Cace
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: