View Full Version : combobox problem

23 Feb 2010, 6:51 AM
The following combobox is an item of a panel:

xtype: 'combo',
id: 'myCombobox',
fieldLabel: 'text template',
allowblank: false,
blankText: 'Diese Eingabe ist notwendig.',
listeners:{ select: function(combo, record, index)
store: new Ext.data.SimpleStore({
fields: ['field1'],
data: [['1'], ['2'], ['3']]
displayField: 'field1',
mode: 'local',
width: 200,
disabled: true

After I have selected a value from the combobox for the first time (e.g. '2'), and then click on the dropdown botton a second time, the list only shows '2' but not '1' and '3'.

Why is that?

23 Feb 2010, 7:07 AM
Include the following in your combo's config:

triggerAction: 'all'

23 Feb 2010, 7:20 AM
Thank you, fay.