You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/18 04:13:16 UTC
[jira] [Commented] (FLEX-14667) When DateField Is Set To Be
Editable Incorrect Date When Using LabelFunction And ParseFunction Return
1/1/NaN
[ https://issues.apache.org/jira/browse/FLEX-14667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13634766#comment-13634766 ]
Justin Mclean commented on FLEX-14667:
--------------------------------------
Confirmed still an issue.
> When DateField Is Set To Be Editable Incorrect Date When Using LabelFunction And ParseFunction Return 1/1/NaN
> -------------------------------------------------------------------------------------------------------------
>
> Key: FLEX-14667
> URL: https://issues.apache.org/jira/browse/FLEX-14667
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: DateField
> Affects Versions: Adobe Flex SDK 3.0 (Release)
> Environment: Affected OS(s): All OS Platforms
> Browser: Internet Explorer 7.x
> Language Found: English
> Reporter: Adobe JIRA
> Priority: Minor
> Labels: easytest
>
> Steps to reproduce:
> 1. Compile and run attached MXML file (or view SWF)
> 2. Enter an invalid date such as 05/45/2008 and press ENTER.
>
> Actual Results:
> parseFuntion returns "01/00/NaN" to DateField.
>
> Expected Results:
> Would expect it to return to last valid date.
>
> Workaround (if any):
> Don't use labelFunction and parseFunction. Instead use formatString on DateField object and a DateValidator when allowing a DateField to be editable, providing http://bugs.adobe.com/jira/browse/SDK-15386 gets fixed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira