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

Spark RadioButton value should be bindable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: RadioButton
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in 4.0.0.10402

      Steps to reproduce:
      1. Compile and run attached MXML file.

      Actual Results:
      2 compiler warnings saying "Data binding will not be able to detect assignments to 'value'."

      Expected Results:
      Make "value" bindable.

      Workaround (if any):
      a) the code works as-is, but you get warnings. Despite the compiler saying it wont be able to detec changes to value, it does.
      b) instead of

      {radioBtnGrp.selection.value}

      , use

      {radioBtnGrp.selectedValue}

      , which also works but doesnt give warnings.
      c) instead of databinding, use the change event on the RadioButtonGroup and set the Label text using ActionScript.

      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: