Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4990

Problem using AutoCompleteBehavior with AjaxFormComponentUpdatingBehavior("onchange")

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.6.0
    • Component/s: wicket
    • Labels:
      None

      Description

      Given a text field that uses the following behaviors:
      A. AjaxFormComponentUpdatingBehavior("onchange");
      B. AutoCompleteBehavior

      Say I enter an letter 'U' into the text field, and an auto-suggest list pops up.
      When I select an item (e.g. USD) from the auto-suggest list using a mouse, the onchange event from behavior A is fired twice. The 1st onchange event is for 'U' and the 2nd onchange event is for 'USD'.

      This issue is mentioned as a regression by Sven Meier and related to WICKET-1280.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svenmeier Sven Meier
                Reporter:
                jamesyong James Yong
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: