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

Problem using AutoCompleteBehavior with AjaxFormComponentUpdatingBehavior("onchange")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.4.0
    • 6.6.0
    • wicket
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: