Ext.ux.LocalComboBox = Ext.extend(Ext.form.ComboBox, {
	editable: false,
	displayField: 'text',
	initComponent: function() {
		Ext.ux.LocalComboBox.superclass.initComponent.call(this);
		
		this.store = new Ext.data.SimpleStore({
			data: this.data || [],
			fields: [ 'text', 'value' ]
		})
	},
	mode: 'local', 
	triggerAction: 'all',
	valueField: 'value'
});

Ext.reg('localcombo', Ext.ux.LocalComboBox);
