-
16 Mar 2012 7:48 AM #1
[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
- Chrome 17
- Strict
- 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.
- Run the code.
- No exception.
- The following exception: "TypeError: Object [object Object] has no method 'getFormId'"
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
- WinXP Pro
-
16 Mar 2012 12:35 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,581
- Vote Rating
- 433
I'm not getting any error using Chrome and RC1
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.
-
26 Mar 2012 7:46 AM #3
Well I don't get the error anymore either with build ext-4.1-20120325.

Nothing to see here ... move along...
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote