Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-5994 in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    May 2011
    Posts
    12
    Vote Rating
    0
    Kouichi Odajima is on a distinguished road

      0  

    Default [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
    Browser versions tested against:
    • IE9
    • FF11 (with firebug)
    • Chrome18
    DOCTYPE tested against:
    • HTML 4.01 Strict
    Description:
    • 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.
    Steps to reproduce the problem:
    • Just open test case code
    The result that was expected:
    • Checkbox shown unchecked
    The result that occurs instead:
    • checked
    Test Case:
    Code:
    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();
    
    
    });
    HELPFUL INFORMATION

    Debugging already done:
    • none
    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • Win Svr 2008 R2 SP1

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,111
    Vote Rating
    470
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thank you for the report!

    Regards,
    Scott.

Thread Participants: 1

Tags for this Thread