PDA

View Full Version : Select field not working on android and ipone similator?



sendy
10 Jun 2013, 3:24 AM
Hello ,
I am using selectfield it works fine on chrome but when I test on android and iphone simulator it doesn't work.
I found a solution : add Ext.require('Ext.TitleBar') in file app
I don't understabd where I must but this exactly?
Any Help Please???

mitchellsimoens
12 Jun 2013, 4:50 AM
If a view uses Ext.TitleBar then that view needs to require it:


Ext.define('MyApp.view.Main', {
extend : 'Ext.Container',
xtype : 'myapp-main',

requires : [
'Ext.TitleBar'
],

config : {
items : [
{
xtype : 'titlebar',
docked : 'top',
title : 'Foo'
}
]
}
});