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

Navigate combobox drop down list by "down" key not work correctly if contains empty string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.6, 7.0.2
    • 6.5.4
    • Components
    • Security Level: Jimmy

      Sample Code:

      <zk>
        <zscript><![CDATA[
          ListModelList m1 = new ListModelList();
          for (int i = 10; i < 15; i++) {
            m1.add(i + "-" + "A" + i);
          }
          m1.add("");
          for (int i = 20; i < 25; i++) {
            m1.add(i + "-" + "B" + i);
          }
          ListModelList m2 = new ListModelList();
          m2.add("");
          for (int i = 10; i < 15; i++) {
            m2.add(i + "-" + "A" + i);
          }
        ]]></zscript>
        <combobox autodrop="true" model="${m1}" />
        <combobox autodrop="true" model="${m2}" />
      </zk>
      

      Reproduce Step:
      1. Focus on first Combobox.
      2. Press "down" key, can't select "20-B20" item.
      3. Focus on second Combobox.
      4. Press "down" key, can't select "10-A10" item.

            noahhuang noahhuang
            vincentjian vincentjian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: