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

use combobox, when raise onchange by type name of item let SelectEvent.getPreviousSelectedItems return wrong value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.0.3, 7.0.5.2
    • Fix Version/s: 8.6.1
    • Component/s: Components
    • Labels:
      None

      Description

      redo step:
      open demo page: http://www.zkoss.org/zkdemo/combobox/simple_combobox
      test with color combobox

      1. set blue item
      2. enter "black" into combobox => item black is selected
      at handle function, call SelectEvent.getPreviousSelectedItems
      it will return "black" item.
      it's wrong, correct value is blue item.
      if user mouse for select item, function return correct value.

      reason:
      client sent wrong value when make event, please reference attach file

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hiepgau hiepgau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: