Unanswered: 4.1.1 - issue on Combo box set Value & form reset functions
Unanswered: 4.1.1 - issue on Combo box set Value & form reset functions
we have upgraded to extjs 4.1.1 gl recently. after upgrading we are getting the following errors
1. form reset functionality is not resetting the combo box (drop down) values but it works fine in Text fields. earlier version it was working fine including combo box (drop down).
i have enclosed the extjs code which we are using. kindly help us to solve this issue at the earliest.
var TxrlabDeviceField = new Ext.form.ComboBox(
{
// Initializing the field variables
name : 'lab',
id : 'lab',
fieldLabel : 'Lab',
store : LabStore,
emptyText : '-Select Lab -',
bodyStyle : 'padding:15px',
loadmask : true,
mode : 'remote',
displayField : 'spname',
valueField : 'lab_id',
allowBlank : false,
typeAhead : true,
editable : true,
queryMode : 'local',
forceSelection : false,
anchor :'30%',
triggerAction : 'all',
listeners:
{
// Adding a onSelect listener to LAB field
select: function(combo, recordTest, index)
{
//Get lab value from the combo box
var val = Ext.getCmp('lab').getValue();
var record = Ext.getCmp('lab').findRecord(Ext.getCmp('lab').displayField, val);
//Get the lab_id from the value of the lab combo box
var labId = record.get('lab_id');
refreshAisleCombo(labId,'aisle');
Ext.getCmp("AisleLoc").getStore().removeAll(); Ext.getCmp("AisleLoc").setValue(''); // Not working in extjs 4.1.1