Results 1 to 3 of 3

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

    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
    646
    Vote Rating
    12
      0  

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

    Default

    I'm not getting any error using Chrome and RC1
    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
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    646
    Vote Rating
    12
      0  

    Default

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

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

Posting Permissions

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