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

RadioButton no longer fires change event when deslected by clicking another RadioButton in the RadioButtonGroup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: RadioButton
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      discussed here:

      http://tech.groups.yahoo.com/group/flexcoders/message/117388

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
          <mx:RadioButton id="b1" label="1" change="trace('1 changed:' + b1.selected);" />
          <mx:RadioButton id="b2" label="2" change="trace('2 changed:' + b2.selected);" />
          <mx:RadioButton id="b3" label="3" change="trace('3 changed:' + b3.selected);" />
      </mx:Application>
      

      Steps to reproduce:
      1. run above application in Flex 2 SDK
      2. click on radio button 1
      3. notice change event fired for radio button 1
      4. click on radio button 2
      5. notice change event fired for both radio button 1 (deselected) and radio button 2 (selected)
      6. recompile same application with Flex 3 SDK
      7. click on radio button 1
      8. notice change event for button 1 fired
      9. click on radio button 2

      Actual Results:

      change event for radio button 2 fired only

      Expected Results:

      change event for radio button 1 should have fired too

      Workaround (if any):

      use radio button group change event or write up your own code that duplicates what radio button group does to detect the change

      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: