[ 
https://issues.apache.org/jira/browse/FLEX-24808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602237#comment-13602237
 ] 

Sachin Bhatt commented on FLEX-24808:
-------------------------------------

Thanks Erik de Bruin. I accessed this URL in the browser and went to the 
definition of the spark ComboBox class at 
http://svn.apache.org/repos/asf/incubator/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as?p=1420158.
 The code in this version is the same as the version that I have in my latest 
downloaded Flex SDK 4.6.0.

How can I track if something is changed to resolve this issue ?
                
> Tabbing out of Spark ComboBox does not trigger validator
> --------------------------------------------------------
>
>                 Key: FLEX-24808
>                 URL: https://issues.apache.org/jira/browse/FLEX-24808
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: ComboBox
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Adobe JIRA
>            Priority: Minor
>
> Steps to reproduce:
> 1. Compile & run:
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; 
>                          xmlns:s="library://ns.adobe.com/flex/spark" 
>                          xmlns:mx="library://ns.adobe.com/flex/mx">
>       <fx:Declarations>
>               <mx:NumberValidator id="stateVal" source="{st}" 
> property="selectedIndex" minValue="0" required="true" />
>               <mx:NumberValidator id="stateVal2" source="{st2}" 
> property="selectedIndex" minValue="0" required="true" />
>       </fx:Declarations>
>       <s:layout>
>               <s:VerticalLayout/>
>       </s:layout>
>       <s:ComboBox id="st">
>               <s:dataProvider>
>                       <s:ArrayCollection>
>                               <fx:String>Red</fx:String>
>                               <fx:String>Yellow</fx:String>
>                               <fx:String>Green</fx:String>
>                               <fx:String>Blue</fx:String>
>                               <fx:String>Purple</fx:String>
>                       </s:ArrayCollection>
>               </s:dataProvider>
>       </s:ComboBox>
>       <mx:ComboBox id="st2" prompt="foo">
>               <mx:dataProvider>
>                       <s:ArrayCollection>
>                               <fx:String>Red</fx:String>
>                               <fx:String>Yellow</fx:String>
>                               <fx:String>Green</fx:String>
>                               <fx:String>Blue</fx:String>
>                               <fx:String>Purple</fx:String>
>                       </s:ArrayCollection>
>               </mx:dataProvider>
>       </mx:ComboBox>
> </s:Application>
> 2. Tab out of the Spark ComboBox
>  
>  Actual Results:
>  Validation not triggered.
>  
>  Expected Results:
>  Validation should be triggered.
>  
>  Workaround (if any):
>  Call focusOut="stateVal.validate()"

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

Reply via email to