Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #11
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,797
    Vote Rating
    602
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This isn't really a bug, you'll notice that the CSS3 selectors also don't include a not operator. Instead, you should use :not:

    Code:
    Ext.onReady(function(){
        
        var form = Ext.create('Ext.form.Panel', {
            renderTo: document.body,
            items: [{
                fieldLabel: 'Foo',
                name: 'foo'
            }, {
                fieldLabel: 'Bar',
                name: 'bar'
            }, {
                fieldLabel: 'Baz',
                name: 'baz'
            }]
        });
        
        console.log(form.query(':not([name=foo])'));
        
    });
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  2. #12
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    78
    Vote Rating
    1
    kmanuel@entausa.com is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    This isn't really a bug, you'll notice that the CSS3 selectors also don't include a not operator. Instead, you should use :not:

    Code:
    Ext.onReady(function(){
        
        var form = Ext.create('Ext.form.Panel', {
            renderTo: document.body,
            items: [{
                fieldLabel: 'Foo',
                name: 'foo'
            }, {
                fieldLabel: 'Bar',
                name: 'bar'
            }, {
                fieldLabel: 'Baz',
                name: 'baz'
            }]
        });
        
        console.log(form.query(':not([name=foo])'));
        
    });
    Ok, that worked, sorta. It excluded my firstName field, but included my textareafield. Using my test case I did
    Code:
    form.query('textfield:not([name=firstName])')
    Last edited by kmanuel@entausa.com; 10 Jul 2012 at 6:10 AM. Reason: update status of post. was partially incorrect

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