View Full Version : CompositeField and Form.find

6 Jul 2010, 11:26 PM

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"...


var form = new Ext.form.FormPanel({
items : [{
xtype : 'compositefield',
items : [{
xtype : 'textfield',
name: 'city',
flex : 1

form.find('name', 'city');

This returns an empty array...Any solution for this?