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

Selection bug in Listbox with paging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9
    • 5.0.8
    • Components
    • None

      Selecting a listitem without pressing CTRL key does NOT deselect other selected items on other pages.

      How to reproduce. Open the zul page below:
      1. Select a listitem on page 1.
      2. go to page 2.
      3. Select a listitem on page 2 (do NOT press CTRL key)
      -> Selecting an item on page 2 without CTRL key should deselect all other selected items
      4. go back to bage 1 -> the item selected in step #1 is still selected.

      This is new in 5.0.8. In 5.0.7 the selected items on otherpages are always deselected when an item is selected, regardless og paging.

      zul page:
      <zk>
      <window border="none">
      <listbox mold="paging" pageSize="5" multiple="true">
      <listitem label="1" />
      <listitem label="2" />
      <listitem label="3" />
      <listitem label="4" />
      <listitem label="5" />
      <listitem label="6" />
      <listitem label="7" />
      <listitem label="8" />
      <listitem label="9" />
      <listitem label="10" />
      <listitem label="11" />
      <listitem label="12" />
      </listbox>
      </window>
      </zk>

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

              Created:
              Updated:
              Resolved: