[
https://issues.apache.org/jira/browse/WICKET-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerolf Seitz updated WICKET-989:
--------------------------------
Attachment: WICKET-989.patch
if the date entered in the textbox is not valid, the datepicker doesn't use it
to preselect the date in the calendar.
in that case, any previously selected date remains selected.
> 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.