Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2668 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    13
    Vote Rating
    2
    DodgyDave is on a distinguished road

      0  

    Default Toggle change event not firing in 2.0.1rc

    The following code results in the change event firing in 2.0.0 but not in 2.0.1rc

    Code:
    Ext.Loader.setConfig({
        enabled: true,
        paths: {
            'Ext': '../Content/sencha2.0.1rc1/src'
        }
    });
    
    
    
    
    Ext.application({
        appFolder: '/IFP/Test/app',
        name: 'app',
    
    
        requires: [
            'Ext.form.Panel',
            'Ext.field.Toggle'
        ],
    
    
    
    
        launch: function () {
    
    
            Ext.create('Ext.form.Panel', {
                fullscreen: true,
                items: [{
                        xtype: 'togglefield',
                        value: 0,
                        label: 'Toggle party:',
                        listeners: {
                            change: function () {
                                alert('Fired');
                            }
                        }
                    }]
            });
        }
    
    
    });

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,605
    Vote Rating
    1143
    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

    Animation is gone also.

    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Software Engineer
    ________________
    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
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    7
    rdougan will become famous soon enough

      0  

    Default

    Fixed for the next release. Thanks!
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Thread Participants: 2