Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26967

DropDownList goodness when enabled set to true on change

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Adobe Flex SDK 4.0 (Release)
    • Fix Version/s: None
    • Component/s: Spark: DropDownList
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 8.x
      Language Found: English

      Description

      Steps to reproduce:
      1. Set up an app with the following code:

      <?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" minWidth="955" minHeight="600">
      <s:DropDownList id="dropDown" y="500" change="

      {dropDown.enabled = true}

      ">
      <s:dataProvider>
      <s:ArrayList>
      <fx:String>Test 1</fx:String>
      <fx:String>Test 2</fx:String>
      </s:ArrayList>
      </s:dataProvider>
      </s:DropDownList>
      </s:Application>

      2. Click the drop-down list.
      3. Select an item from the list.

      Actual Results:

      The drop-down list doesn't go away. The drop-down list loses a lot of its functionality.

      Expected Results:

      The item should be selected and the drop-down list should go away.

      Workaround (if any):

      Don't set enabled to true on change.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: