[ https://issues.apache.org/jira/browse/FLEX-24808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602185#comment-13602185 ]
Erik de Bruin commented on FLEX-24808: -------------------------------------- http://svn.apache.org/repos/asf/incubator/flex/sdk/trunk/?p=1420158 Maybe that is what you're looking for? > 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