PDA

View Full Version : [CLOSED]Lazy loading hiddenfield causes js error



meyerovb
20 Jul 2010, 7:14 PM
Lazy loading a hiddenfield in the below example throws a javascript error. Works fine if you create the field by doing "new Ext.form.HiddenField()".



Ext.setup({ onReady: function () {
new Ext.Panel({ fullscreen: true, items: [{xtype:'hiddenfield'}] });
}});

evant
20 Jul 2010, 7:30 PM
This isn't a bug, the xtype is 'hidden', not 'hiddenfield'.

We'll look at updating the docs so it also shows the xtype in the class definition.