setValue : function(v,suppressEvent)
{
if(this.inputType == 'radio'){
- this.setGroupValue(v);
+ this.setGroupValue(v, suppressEvent);
return;
}
this.setChecked(((typeof(v) == 'undefined') ? this.checked : (String(v) === String(this.inputValue))), suppressEvent);
},
- setGroupValue : function(v)
+ setGroupValue : function(v, suppressEvent)
{
Roo.each(this.el.up('form').select('input[name='+this.name+']', true).elements, function(e){
e.dom.checked = false;
});
- this.inputEl().dom.checked = true;
-
if(suppressEvent !== true){
this.fireEvent('check', this, true);
}
- this.inputEl().dom.value = this.inputValue;
-
return;
}