Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.2
-
None
Description
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
Attachments
Attachments
Issue Links
- is related to
-
WICKET-1280 Autocomplete onchange event gets fired twice when selecting with mouse click
- Resolved
-
WICKET-2424 OnChangeAjaxBehavior + DatePicker do not work together
- Resolved