use item.el.getValue() to compare the value when picking the radio in the radiogroup
This commit is contained in:
parent
a62c545d4a
commit
5ec004b2ff
|
@ -777,7 +777,8 @@ Ext.override(Ext.form.RadioGroup, {
|
||||||
setValue: function(v) {
|
setValue: function(v) {
|
||||||
if (!this.items.each) return;
|
if (!this.items.each) return;
|
||||||
this.items.each(function(item) {
|
this.items.each(function(item) {
|
||||||
item.setValue((item.originalValue == v));
|
var checked = (item.el.getValue() == String(v));
|
||||||
|
item.setValue(checked);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Reference in New Issue