-
19 Apr 2012 3:48 PM #1
[4.1.0-rc3] Data binding issue on checkboxToggle FieldSet before render
[4.1.0-rc3] Data binding issue on checkboxToggle FieldSet before render
REQUIRED INFORMATION
Ext version tested:- Extjs-4.1.0-rc3
- IE9
- FF11 (with firebug)
- Chrome18
- HTML 4.01 Strict
- Ext.form.Panel.loadRecord does not change FieldSet Checkbox state when it is not rendered yet.
- It works correctly after rendered.
- Ext-4.0.7 works correctly.
- Just open test case code
- Checkbox shown unchecked
- checked
HELPFUL INFORMATIONCode:Ext.onReady(function() { Ext.define("TestModel", { extend : "Ext.data.Model", fields : [ { name : "a", defaultValue : false } ] }); var w = Ext.create("Ext.window.Window", { width : 400, height : 300, items : [ { xtype : "form", items : [ { xtype : "fieldset", checkboxToggle : true, checkboxName : "a", title : "test" } ] } ] }); var formPanel = w.items.getAt(0); formPanel.loadRecord(Ext.create("TestModel")); w.show(); });
Debugging already done:- none
- not provided
- only default ext-all.css
- Win Svr 2008 R2 SP1
-
20 Apr 2012 8:33 AM #2
Thank you for the report!
Regards,
Scott.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-5994
in
4.1.


Reply With Quote