PDA

View Full Version : [FIXED][3.0rc2] "change" event for RadioGroup is never fired.



blakel
17 Jun 2009, 11:13 AM
"change" event for RadioGroup is never fired.


Ext.onReady(function() {
new Ext.Panel({
renderTo: Ext.getBody(),
layout: 'form',
items: [{
xtype: 'radiogroup',
fieldLabel: 'radio',
items: [{
boxLabel: '1',
inputValue: '1',
name: 'radio'
},{
boxLabel: '2',
inputValue: '2',
name: 'radio'
}],
listeners: {
change: function(radio, newValue, oldValue) {
alert(newValue);
}
}
}]
});
});

Condor
17 Jun 2009, 11:27 AM
This is the link (http://www.extjs.com/forum/showthread.php?t=43405) to the corresponding 2.x bugreport.

evant
17 Jun 2009, 7:02 PM
SVN has been updated to allow the check and radio groups to fire the change event. Note that the signature of the callbacks is different to the default Field change.