-
28 Sep 2012 5:57 AM #1
[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:
HELPFUL INFORMATIONCode: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' }] } }); });
Screenshot or Video:- Expected result (as in 4.1.1 and earlier):
cycle-menu-expected.png - Actual result (in 4.1.2):
cycle-menu.png
Additional CSS used:- only default ext-all.css
Operating System:- Win7
-
28 Sep 2012 6:14 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,637
- Vote Rating
- 435
We already have a bug entered for this.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
28 Sep 2012 7:32 AM #3
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...
This issue duplicates another issue.


Reply With Quote