Andrey Fel created FLEX-33935: --------------------------------- Summary: DropDownList doesn't handle selection properly if it is disabled immediately Key: FLEX-33935 URL: https://issues.apache.org/jira/browse/FLEX-33935 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.11.0 Reporter: Andrey Fel
Here is the test app code to reproduce the issue: <?xml version="1.0"?> <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:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var cards:ArrayCollection = new ArrayCollection( [ {label:"Visa", data:1}, {label:"MasterCard", data:2}, {label:"American Express", data:3} ]); ]]> </fx:Script> <s:DropDownList id="list" dataProvider="{cards}" width="150" color="0x000000" enabled="{list.selectedIndex == -1}"/> </s:Application> Try to select something in the DropDownList. It goes to invalid state. -- This message was sent by Atlassian JIRA (v6.1#6144)