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

Disabled tab in tabbox displayed even if select is true for another tab

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • 5.0.7.1, 5.0.8, 5.0.9, 5.0.10
    • Components
    • Ubuntu 11.04, Mozilla, Chrome
      Issue is not platform specific.

      If you have a tabbox like this:

      <tabbox>
      <tab label="Hello" disabled="true" />
      <tab label="Mickey" selected="true" />
      <tab label="Mouse" disabled="true" />
      <tabpanels>
      <tabpanel>
      <label value="This will be displayed and it shouldn't" />
      </tabpanel>

      <tabpanel>
      <label value="Expected this to show" />
      </tabpanel>

      <tabpanel>
      <label value="Never seen, which is correct" />
      </tabpanel>

      </tabpanels>
      </tabbox>

      What happens is that when the tab is displayed, the tabs are correctly greyed out for the disabled ones, but the CONTENT is wrong.

      The second tab is shown as selected (it's the only choice), but the content from the FIRST tabpanel is displayed.

      When the user clicks on the second tab panel, then the correct content is shown.

      This is more of a visual inconsistency than anything else. It is fun in a weird kind of way.

            SimonPai SimonPai
            pdavie pdavie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: