-
6 Jul 2010 11:26 PM #1
CompositeField and Form.find
CompositeField and Form.find
Hi,
I don't know if this is a bug or just my fault.
If I put a textfield into a compositefield and run form.find on the name of the textfield, I get no results. The Api says "Find a component under this container at any level by property"...
Example:
This returns an empty array...Any solution for this?Code:var form = new Ext.form.FormPanel({ items : [{ xtype : 'compositefield', items : [{ xtype : 'textfield', name: 'city', flex : 1 }] }] }); form.find('name', 'city');Kim Schneider
Lead Developer
Server-Eye
Alte Koßmannschule
Koßmannstraße 7
66571 Eppelborn
Germany
Email: kim.schneider@server-eye.de
Homepage: www.server-eye.de
Do you know our revolution in network- and servermonitoring?
www.server-eye.de
Similar Threads
-
Cannot use a Ext.form.CompositeField as a cell editor in Ext.grid.EditorGridPanel
By raskri in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 22 Apr 2013, 1:04 AM -
[CLOSED-709] Ext.form.DisplayField doesn't work under CompositeField
By prographica in forum Ext 3.x: BugsReplies: 7Last Post: 20 Jul 2010, 1:19 AM -
Load form on 'render' event but CompositeField not rendered yet.
By jarlau in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 9 Apr 2010, 1:45 AM -
how to find all buttons in form
By Tice in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 10 Apr 2008, 7:08 AM


Reply With Quote