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

DatePicker: NaN if numerical input cannot be parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0-beta3
    • 1.3.1
    • wicket-datetime
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: