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 Funk (JIRA)" <ji...@apache.org> on 2007/10/29 10:15:50 UTC

[jira] Updated: (WICKET-989) DatePicker: NaN if numerical input cannot be parsed

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

Martin Funk updated WICKET-989:
-------------------------------


If the input ist numerical, but not a date, the datepicker works fine,
but when the input is completly wrong("XXX") it doesn't work at all

Firebug comes up with a:
numbers has no properties
[...]wicket-date.js
Line 48



> DatePicker: NaN if numerical input cannot be parsed
> ---------------------------------------------------
>
>                 Key: WICKET-989
>                 URL: https://issues.apache.org/jira/browse/WICKET-989
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta3
>         Environment: firefox 2.0.0.6
>            Reporter: Ivana Cace
>            Assignee: Gerolf Seitz
>            Priority: Minor
>         Attachments: WICKET-989.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.