Results 1 to 3 of 3

Thread: [4.1.2] Extra checkbox in cycle button menu items

    This issue duplicates another issue.
  1. #1
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    418
    Vote Rating
    64
      0  

    Default [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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    We already have a bug entered for this.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    418
    Vote Rating
    64
      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...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •