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

[localfix] RadioButtonGroup can't be reset when part of a two-way bind

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.2 (Release)
    • Adobe Flex SDK Previous
    • mx: RadioButtonGroup
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      Create a two-way bind on a RadioButtonGroup and try setting it's selection property to null.

      Actual Results:
      The first RadioButton in the group will be selected.

      Expected Results:
      No RadioButton in the group will be selected.

      Workaround (if any):
      None.

      I've done this as an Air app and in a browser. All the same.
      Flex SDK: 3.2.0.3958, 3.2.0.4331

      Demo MXML file attached.

      When a single direction bind is applied, in either direction, clearing of the RadioButtonGroup works like it should.
      When no bind is applied, clearing of the RadioButtonGroup works like it should.
      The order of establishing the two-way binds makes not difference.

      Another strange side effect of the two-way bind is that the first radio button is selected. Of course, nothing should be selected unless specified.

      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: