-
Issue when combobox is place inside fbar -toolbar with select event
Issue when combobox is place inside fbar -toolbar with select event
Hi,
I am trying to place a combo within fbar. If I add select event
this.Combox1.on('select', this.SelectCountry, this);
I am not getting any output. (i mean the page will be blank)
If I place the same combo outside fbar with select event then it works fine.
Anything wrong with the code?
Thanks,
{
fbar: {
xtype: 'toolbar',
enableOverflow: false,
hidden: false,
hideLabel: false,
id: 'tb1',
items: [
{
xtype: 'combo',
anchor: '50%',
allowBlank: true,
validateOnBlur: true,
name: 'Country',
selectOnFocus: false,
store: 'Countries',
resizable: true,
mode: 'local',
valueField: 'id',
displayField: 'description',
forceSelection: true,
triggerAction: 'all',
hiddenName: 'Country',
ref: '../Combobox1',
id: 'currency1',
tpl: '<tpl for="."><div class="x-combo-list-item {css}">{description}</div></tpl>'
},
]
}
},
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us