PDA

View Full Version : 'select' only triggered on the first selection on combobox



ahsec
21 May 2012, 6:16 AM
Hi everyone

Is it possible that using combo box and a listener such as



Ext.getCmp('a_searchField').addListener( 'select',
function(that,record,index,eOPts){
updateValuesBox(record[0].get('field'));
}
);


only triggers when I make a select for the first time????
on the first time I select something it triggers my function
but any selection I make afterwards doesn't do anything....

I didn't change any info in my "updateValuesBox" function...
any one has ever faced that before???

thanks

friend
21 May 2012, 6:37 AM
You may want to capture the change event instead.