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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 8.6.1
    • 7.0.3, 7.0.5.2
    • Components
    • None

      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

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

              Created:
              Updated:
              Resolved: