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

Autocomplete onchange event gets fired twice when selecting with mouse click

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-final
    • 1.3.3
    • wicket-extensions
    • None
    • Firefox, Opera

    Description

      When selecting on of the choices of the autocomplete field per mouse click the onchange event fires twice.
      The first onchange event is fired by the browser in response to the mouseclick. The second one is fired by the autocomplete.js.

      If you hook an onchange event listener to the ac (as in the wicket example) field it gets called twice per selection. The first time the text entered by the user
      gets submitted. The second time the selected choice is submitted.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ckuehne Conny Kuehne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: