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

Setting enabled=false on any Spark container does not set its children to be disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run the following application:
      <?xml version="1.0" encoding="utf-8"?>
      <FxApplication xmlns="http://ns.adobe.com/mxml/2009" backgroundColor="0xCCFF00">
      <layout>
      <VerticalLayout/>
      </layout>

      <FxContainer id="myPanel" enabled="false" >
      <FxButton label="child 1." />
      <FxTextInput text="child 2." />
      </FxContainer>

      <FxButton label="enable/disable Panel" click="myPanel.enabled=!myPanel.enabled"/>
      <FxTextArea text="disabled text." enabled="false"/>
      </FxApplication>

      Actual Results: The children of the FxContainer do not look disabled.

      Expected Results: The children of the FxContainer should be disabled.

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: