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

Disabled RadioButton can be programatically selected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: RadioButton
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile & run:
      <?xml version="1.0" encoding="utf-8"?>
      <FxApplication xmlns="http://ns.adobe.com/mxml/2009">
      <Declarations>
      <FxRadioButtonGroup id="srg"/>
      </Declarations>
      <VGroup>
      <FxRadioButton id="s1" label="Spark 1" />
      <FxRadioButton id="s2" label="Spark 2"/>
      <FxRadioButton id="s3" label="Spark 3"/>
      <FxRadioButton id="s4" label="Spark 4" enabled="false"/>
      <FxRadioButton id="s5" label="Spark 5"/>
      </VGroup>

      <FxButton y="180" click="s4.selected=true" label="Select disabled button" />

      </FxApplication>

      2.Click the button to programmatically select the disabled RadioButton.

      Actual Results:
      Disabled FxRadioButton is selected

      Expected Results:
      Disabled FxRadioButton should not be able to be selected.

      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: