This issue duplicates another issue.
  1. #1
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    415
    Vote Rating
    60
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default [4.1.2] Extra checkbox in cycle button menu items

    [4.1.2] Extra checkbox in cycle button menu items


    REQUIRED INFORMATION
    Ext version tested:
    • Ext 4.1.2
    • Ext 4.1.2a

    Browser versions tested against:
    • FF 15
    • IE8
    • Chrome 22

    Description:
    • When creating an Ext.button.Cycle component, its child menu items are rendered with an extra checkbox in them.
    • This is a regression introduced in ExtJS 4.1.2, as it works fine under version 4.1.1 and earlier.

    Steps to reproduce the problem:
    • Create a cycle button with a few menu items.
    • Click the cycle trigger to open the button's menu.

    The result that was expected:
    • One menu item should have a dot to indicate it is selected. The others should not.

    The result that occurs instead:
    • All menu items have an additional checkbox displayed on the right side of the menu.

    Test Case:
    Code:
    Ext.onReady(function() {
        Ext.create('Ext.button.Cycle', {
            margin: 10,
            showText: true,
            prependText: 'View as ',
            renderTo: Ext.getBody(),
            menu: {
                items: [{
                    text: 'text only',
                    checked: true
                }, {
                    text: 'HTML'
                }]
            }
        });
    });
    HELPFUL INFORMATION

    Screenshot or Video:
    Additional CSS used:
    • only default ext-all.css

    Operating System:
    • Win7

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,604
    Vote Rating
    818
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    We already have a bug entered for this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    415
    Vote Rating
    60
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    Thanks, Mitchell. Is there another forum thread for the same issue, or are you referring to an internal ticket? (I searched, but couldn't find any other bug thread for this.) I'm curious to know if anyone has a workaround...

Thread Participants: 1

Tags for this Thread