Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7221 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Nov 2009
    Posts
    92
    Vote Rating
    3
    tomb@ibcos.co.uk is on a distinguished road

      0  

    Default Error tooltip shown when no error

    Error tooltip shown when no error


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.2
    Browser versions tested against:
    • Chrome 21
    Description:
    • When running the code below your presented with a window containing 6 checkboxes, one of which is ticked. When item 2 is unticked, a red outline is placed around all fields. If the mouse is then moved a significant amount, a tooltip will be shown saying "You must select at least one item in this group". If the mouse is moved and an item clicked before the tooltip is shown, the red outline disappears but the tooltip is still shown shortly after. I believe the problem is because the tooltip uses a show timer which is never cancelled.
    Code:
    Ext.create('Ext.Window', {
        title: 'Checkbox Group',
        width: 300,
        height: 125,
        bodyPadding: 10,
        items:[{
            xtype: 'checkboxgroup',
            fieldLabel: 'Two Columns',
            // Arrange checkboxes into two columns, distributed vertically
            columns: 2,
            allowBlank:false,
            vertical: true,
            items: [
                { boxLabel: 'Item 1', name: 'rb', inputValue: '1' },
                { boxLabel: 'Item 2', name: 'rb', inputValue: '2', checked: true },
                { boxLabel: 'Item 3', name: 'rb', inputValue: '3' },
                { boxLabel: 'Item 4', name: 'rb', inputValue: '4' },
                { boxLabel: 'Item 5', name: 'rb', inputValue: '5' },
                { boxLabel: 'Item 6', name: 'rb', inputValue: '6' }
            ]
        }]
    }).show();

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,778
    Vote Rating
    598
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    What do you mean by "a significant amount"? For example, do you untick the box then move it within the confines of the field?

    Edit: Ok, I see what you're saying.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1