AutoComplete+OnChangeAjaxBehavior doesn't fire updates on item selection
------------------------------------------------------------------------

                 Key: WICKET-4204
                 URL: https://issues.apache.org/jira/browse/WICKET-4204
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.5.2
            Reporter: Xavier López


When adding an OnChangeAjaxBehavior to an AutoCompleteTextField, onUpdate() 
doesn't fire when selecting an item from the autocomplete item list. 
It is firing when using an AjaxFormComponentUpdatingBehavior. 

wicket-autocomplete.js seems to be using the onchange event handler, which is 
cleared by Wicket.ChangeHandler. 
Maybe obj.onchangeoriginal should be checked in first place in 
wicket-autocomplete.js

See this related discussion at SO for context: 
http://stackoverflow.com/q/8047769/851811

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to