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

MenuItem type radio can be toggled off

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • mx: Menu Bar
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Create the following flex app:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

      <mx:MenuBar dataProvider="

      {myMenuData}

      " showRoot="false" labelField="@label" />

      <mx:XML id="myMenuData">
      <xmlRoot>
      <menuitem label="test">
      <menuitem label="foo" groupName="group1" type="radio" toggled="true" />
      <menuitem label="bar" groupName="group1" type="radio"/>
      </menuitem>
      </xmlRoot>
      </mx:XML>

      </mx:Application>
      2. Run it
      3. Open the menu and select "foo"

      Actual Results:
      The MenuItem "foo" is not toggled anymore

      Expected Results:
      As the two items belong to group "group1" one item should be selected at any time.
      I would expect the same behaviour as a normal RadioButtonGroup meaning that "foo" can not be selected again if it is already toggled.

      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: