This problem worked fine before ExtJS 6.0. I started having this problem after upgrading from ExtJS 6.0 to ExtJS 6.2.
I want to know why the 6.0 and 6.2 versions behave differently. The same problem is confirmed in 7.6. You can check each version in the Fiddle link below.
ExtJS Fiddle : https://fiddle.sencha.com/#view/editor&fiddle/3nn6
ExtJS 6.0 ExtJS 6.0 Radio Button
ExtJS 6.2 ExtJS 6.2 Radio Button
I tried this.
It‘s a bug. They want to fix it soon. Here is the workaround (Version 7.8.0)
Ext.define('EXTJS_30156.form.field.Radio', {
override: 'Ext.form.field.Radio',
getRawValue: function() {
var radioGroup = this.up('radiogroup');
return radioGroup && radioGroup.local ? this.checked : this.callParent();
},
getValue: function() {
var radioGroup = this.up('radiogroup');
return radioGroup && radioGroup.local ? this.checked : this.callParent();
}
});