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

Combox's onSelect will keep to fire when invalidate the component

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.7.1
    • Fix Version/s: 5.0.8
    • Component/s: Components
    • Labels:
      None

      Description

      For example,

      <combobox onSelect='alert("onSelect");self.invalidate()'>
      <comboitem label="Add 1 item" />
      <comboitem label="Add 2 item" />
      <comboitem label="Add 3 item" />
      </combobox>

      1. Please select any one of the comboitems, and it will fire an onSelect event.
      2. After close the dialog and reopen the combobox (don't select anything) and then click out side the combobox, it should not appear a constrain error or resend the onSelect event again.

        Activity

        Hide
        SimonPai SimonPai added a comment -

        Fixed since 2011/8/11.

        Show
        SimonPai SimonPai added a comment - Fixed since 2011/8/11.
        Hide
        jumperchen jumperchen added a comment -

        The current fixed may change the original spec.
        If the user registers only onSelect event, but it won't be fired when user typing.

        Show
        jumperchen jumperchen added a comment - The current fixed may change the original spec. If the user registers only onSelect event, but it won't be fired when user typing.
        Hide
        SimonPai SimonPai added a comment -

        Re-fixed since 2011/8/12.

        Show
        SimonPai SimonPai added a comment - Re-fixed since 2011/8/12.

          People

          • Assignee:
            SimonPai SimonPai
            Reporter:
            jumperchen jumperchen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: