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/28 03:17:13 UTC

[jira] [Resolved] (FLEX-16629) ASDoc of DateField indicates that it generates a mx.events.FlexEvent.DATA_CHANGE upon selection change, event is never generated

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

Justin Mclean resolved FLEX-16629.
----------------------------------

    Resolution: Not A Problem

DATA_CHANGE should only be dispatch when the data property changes, an ordinary change event is generated when selection changes use that instead.
                
> ASDoc of DateField indicates that it generates a mx.events.FlexEvent.DATA_CHANGE upon selection change, event is never generated
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-16629
>                 URL: https://issues.apache.org/jira/browse/FLEX-16629
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DateField
>    Affects Versions: Adobe Flex SDK 3.1 (Release)
>         Environment: Affected OS(s): Mac
> Browser: Safari
> Language Found: English
>            Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Create a class containing the following code ...
>                        var dateField:DateField = new DateField();
> 			dateField.addEventListener(FlexEvent.DATA_CHANGE, function(evt:FlexEvent):void {
> 				Alert.show(dateField.data.toString());		
> 			}
> 2. Run the code
>  
>  Actual Results:
>  Alert is never shown.
>  
>  Expected Results:
>  Should show alert. 
>  
>  Workaround (if any):
>  Not that I'm aware of, I'm also trying to use BindingUtils with DateField without any success and suspect it may be related to this behavior. 
>  
>  NOTE: There was not an option to specify Flex 3.2, this is the version that I have just downloaded from website and currently using as SDK, I was earlier using 3.0.

--
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