PDA

View Full Version : [UNKNOWN][3.0.3] Ext.form.ComboBox - listEmptyText doesn't display when mode:'local'



achebe
15 Dec 2009, 1:19 PM
Ext version tested:


Ext 3.0.3
Ext svn rev 5789



Adapter used:


ext



css used:


only default ext-all.css





Browser versions tested against:


FF3.5.5 (firebug 1.4.5 installed)



Operating System:


Ubuntu 9.10



Description:


listEmptyText has no effect when using a combobox with it's mode set to local.



Test Case:



new Ext.Window({
width: 400,
height: 75,
layout: 'fit',
items: [{
xtype: 'form',
items: [new Ext.form.ComboBox({
store: new Ext.data.ArrayStore({
id: 0,
fields: ['id','name'],
data: []
}),
mode: 'local',
triggerAction: 'all',
fieldLabel: 'Group',
valueField: 'id',
displayField: 'name',
forceSelection: true,
listEmptyText: 'No groups found.',
valueNotFoundText: ''
})]
}]
}).show();

See also: http://www.extjs.com/forum/showthread.php?t=87813