Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    628
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default [4.1RC1] Form setValues/trackResetOnLoad: checkbox does not support getFormId()

    [4.1RC1] Form setValues/trackResetOnLoad: checkbox does not support getFormId()


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1 RC1
    Browser versions tested against:
    • Chrome 17
    DOCTYPE tested against:
    • Strict
    Description:
    • Attempting to set the values in a form when 'trackResetOnLoad' is enabled will cause an exception because the checkbox does not support a 'getFormId' method.
    Steps to reproduce the problem:
    • Run the code.
    The result that was expected:
    • No exception.
    The result that occurs instead:
    • The following exception: "TypeError: Object [object Object] has no method 'getFormId'"
    Test Case:
    Code:
            Ext.create('Ext.form.Panel',{
                trackResetOnLoad: true,
                items: [{
                    boxLabel: 'Description',
                    checked: true,
                    fieldLabel: 'Check Me',
                    name: 'chk',
                    xtype: 'checkbox' 
                }],
                listeners: {
                    render: function(form){
                        form.getForm().setValues({ chk:true });
                    }
                },
                width: 400,
                height: 100,
                title: 'Track Reset On Load',
                renderTo: Ext.getBody()
            });

    HELPFUL INFORMATION

    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • WinXP Pro

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,220
    Vote Rating
    859
    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


    I'm not getting any error using Chrome and RC1
    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
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    628
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    Well I don't get the error anymore either with build ext-4.1-20120325.

    Nothing to see here ... move along...

Thread Participants: 1