Hello,
I have not been able to use Ext.form.Select (xtype 'selectfield') successfully. Whenever I add a selectfield to our UI, and subsequently click on it, I get the following error:
Code:
Uncaught TypeError: Cannot read property 'items' of undefined
Here is the code:
Code:
items: [ // items inside our Panel
new Ext.form.FormPanel({
items :
[
{
xtype: 'selectfield',
options:
[
{ text: 'hello', value: '1' },
{ text: 'world', value: '2' }
]
}
]
}),
I have tried many other combinations here (e.g. using xtype instead of instantiating the FormPanel directly, copying code directly from the Kitchen Sink examples, etc), but I get the same error every time.
This is holding up progress in our UI, and is very frustrating. Can anybody help?