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

single selection listbox has multiple selected items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.5.1
    • 8.0.0, 9.5.0.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 9.5.1 S1

      Steps to Reproduce

          <listbox id="box" multiple="false"
                   nonselectableTags="" >
              <listhead sizable="true">
                  <listheader label="name" sort="auto"/>
                  <listheader label="gender" sort="auto"/>
              </listhead>
              <listitem>
                  <listcell label="Mary"/>
                  <listcell>
                      <textbox value="m1"/>
                  </listcell>
              </listitem>
              <listitem>
                  <listcell label="John"/>
                  <listcell>
                      <textbox value="m1"/>
                  </listcell>
              </listitem>
              <listitem>
                  <listcell label="Jane"/>
                  <listcell>
                      <textbox value="m2"/>
                  </listcell>
              </listitem>
              <listitem>
                  <listcell label="Henry"/>
                  <listcell>
                      <textbox value="m3"/>
                  </listcell>
              </listitem>
          </listbox>
      

      click among those textboxes repeatedly several times
      1. click the first radio button to select it
      2. click inside the 2nd textbox

      Current Result

      2 items are highlighted like they are both selected which confuses users

      Expected Result

      always 1 item selected

      Debug Information

      • related to nonselectableTags=""

      Workaround

      .z-listitem-focus>.z-listcell

      { background: initial; }

            Leon03 Leon03
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified