Steps to Reproduce
run fiddle with ZK 10
https://zkfiddle.org/sample/3pcf0j7/1-radiogroup-disable-zk-10
Current Result
external radio are not disabled
Expected Result
external radio are disabled
Debug Information
Workaround
Widget-side radiogroup _fixOnAdd JS function always set the disabled state to the same as the radiogroup on external radio
NOTE: this reverts a change made for Stateless components.
If you are using stateless components, you may encounter unexpected side-effects with this workaround
<script><![CDATA[ zk.afterLoad("zul.wgt", function () { var _xRadiogroup = {}; zk.override(zul.wgt.Radiogroup.prototype, _xRadiogroup, { _fixOnAdd : function(t) { this._jsel >= 0 && t.isSelected() ? t.setSelected(!1) : this._fixSelectedIndex(), t.setDisabled(this.isDisabled() || t.isDisabled()) //rg disabled || radio disabled == radio disabled, radio enabled only if both Rg and Radio are not disabled } }); }); ]]></script>