-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.1.3
-
None
-
None
Steps to Reproduce
<zk> <div> <radiogroup id='rgLineType'> <radio label='application'/> <radio label='comment'/> <radio label='include'/> <radio label='#include'/> </radiogroup> <separator/> <label id='info'/> <separator/> <button label='Clone radiogroup' onClick='CloneRadiogroup(event)'/> <separator/> </div> <zscript> void CloneRadiogroup (Event event) { Radiogroup rgNew = rgLineType.clone(); rgNew.setId(null); info.setValue ("name of source radiogroup is [" + rgLineType.name + "], name of clone is [" + rgNew.name + "]. seems different, but it is rendered as same name as the source: Click radio in the one radiogroup will clear selection in another radiogroup"); event.getTarget().getParent().appendChild (rgNew); } </zscript> </zk>
Click the button and check the radios
Current Result
All radios are in the same group.
Expected Result
There should be two groups.
Debug Information
Radio.radiogroup is still the previous one. May be a side effect of ZK-3818.