-
9 Jul 2012 6:23 PM #11
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!
-
10 Jul 2012 6:06 AM #12
Last edited by kmanuel@entausa.com; 10 Jul 2012 at 6:10 AM. Reason: update status of post. was partially incorrect
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote