Hi,
This is regarding the default value selection in Combo Box.
Problem : I have created new Combo Box and given the "Empty text" some default value which should be there while initial loading of Combo.But when i change the value of Combo to something else i lost my Default Value.For eg when combo loads the default value is 'Pick a Region ...' but when i changed to something else the default value is lost..
So how it can be retained.Any Idea ???
Here are my Setting::
new Ext.form.ComboBox({
fieldLabel:'Office Region',
name:'userRegion',
id:'settingsRegCombo',
store: getRegDS(),
valueField:'id',
displayField:'text',
typeAhead: true,
mode: 'local',
triggerAction: 'all',
emptyText:'Pick a Region ...',
selectOnFocus:true,
resizable:false,
forceSelection:true,
allowBlank:true,
blankText:"Pick a Region"
});
Thanks a lot for the help...