-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.0
-
None
select tab2 or 3 in 2nd tabox, and click the button, you will see the tabbox selects back to 1st tab
<vbox> <tabbox> <tabs> <tab label="Tab1"></tab> <tab label="Tab2"></tab> </tabs> <tabpanels> <tabpanel>Panel 1 <button label="click me 1" onClick="//do nothing"></button> </tabpanel> <tabpanel>Panel 2 <button label="click me 2" onClick="//do nothing"></button> </tabpanel> </tabpanels> </tabbox> <zscript><![CDATA[ ListModelList model = new ListModelList(); model.add("A"); model.add("B"); model.add("C"); model.addToSelection("A"); ]]></zscript> <tabbox model="${model}"> <template name="model:tab"> <tab label="${each}"></tab> </template> <template name="model:tabpanel"> <tabpanel>Panel ${each} <button label="click me ${each}" onClick="//do nothing"></button> </tabpanel> </template> </tabbox> </vbox>