Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1618

Tabpanel not follow the visible attribute

    Details

      Description

      As code below:

      1. The first tabpanel will not be hidden with visible="false".

      2. Click test button twice to hide first tabpanel, select another tab then select first tab, the first tabpanel is showed up.

      <zk>
      	<tabbox width="500px">
      		<tabs>
      			<tab label="First Tab" />
      			<tab label="Second Tab" />
      			<tab label="Third Tab" />
      		</tabs>
      		<tabpanels>
      			<tabpanel id="firstTabPanel" visible="false">
      				First Panel<textbox  value="first"></textbox>
      			</tabpanel>
      			<tabpanel>
      				Second Panel<textbox value="second"></textbox>
      			</tabpanel>
      			<tabpanel>
      				Third Panel<textbox value="third"></textbox>
      			</tabpanel>
      		</tabpanels>
      	</tabbox>
      	<button label="test" onClick="firstTabPanel.setVisible(!firstTabPanel.isVisible());" />
      </zk>
      

        Attachments

          Activity

            People

            • Assignee:
              vincentjian vincentjian
              Reporter:
              benbai benbai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: