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

Accordion tabbox disabled issue

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.10, 6.0.0
    • Fix Version/s: 5.0.11
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      Accordion Tab become hidden when set disabled attribute from true to false.

      tabbox.zul
      <zk>
      	<tabbox id="tabbox" mold="accordion" width="500px">
      		<tabs>
      			<tab id="tab1" label="Tab1" disabled="false" />
      			<tab id="tab2" label="Tab2" disabled="true" />
      		</tabs>
      		<tabpanels>
      			<tabpanel>
      				<button label="SelectTab2" width="100px" height="30px">
      					<attribute name="onClick"><![CDATA[
      						tab2.setDisabled(false);
      						tabbox.setSelectedTab(tab2);
      					]]></attribute>
      				</button>
      			</tabpanel>
      			<tabpanel>
      				tab panel 2
      			</tabpanel>
      		</tabpanels>
      	</tabbox>
      </zk>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: