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

Listbox selects a wrong item with listgroup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.6.0, 9.5.1.2
    • Fix Version/s: 9.6.0
    • Component/s: Components
    • Security Level: Jimmy

      Description

      Steps to Reproduce

      1. load the attached zul
      2. check selected item

      Current Result

      item 1-2

      Expected Result

      item 1-1

      Debug Information

      The index of model
      0: "group 1"
      [1]: "item 1-1"
      2: "item 1-2"
      3: "group 2"
      4: "item 2-1"
      5: "item 2-2"

      The index of <select> (optgroups are not selectable)
      0: "item 1-1"
      [1]: "item 1-2"
      2: "item 2-1"
      3: "item 2-2"

      Workaround

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rudyhuang rudyhuang
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 4 hours Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - 4 hours Remaining Estimate - 4 hours
                  4h