Threaded View

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-10684 in 4.2.3.
  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    24
    Vote Rating
    0
    insoft is on a distinguished road

      0  

    Default Checkbox does not fire "change" event on the first change after setRawValue(true).

    Checkbox does not fire "change" event on the first change after setRawValue(true).


    The problem appears is you use setRawValue() method. Method setValue() works fine.
    Before checkbox render just use component.setRawValue(true); and put some listener for "change" event. You'll see that for the first time when you uncheck the checkbox listener will not work.

    Sample project is in attachment. Thanks.

    *EDIT BY SLEMMON
    Steps:
    • Click the button => the checkbox gets checked
    • Click the checkbox
    Inline test case:
    Code:
    var checkbox;
    
    
    Ext.create("Ext.button.Button", {
        renderTo: Ext.getBody(),
        text: "setRawValue",
        handler: function () {
            checkbox.setRawValue(true);
        }
    });
    
    
    checkbox = Ext.create("Ext.form.field.Checkbox", {
        renderTo: Ext.getBody(),
        boxLabel: "Checkbox",
        listeners: {
            change: function () {
                console.log("change");
            }
        }
    });
    Attached Files
    Last edited by slemmon; 16 Jul 2013 at 1:38 PM. Reason: additional test notes

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi