Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.16.0, 7.0.0-M2
-
None
Description
The following processing sequence leads to a JavaScript error:
- form is shown including an autoCompleteTextField
- user enters criteria and immediately presses enter
- actualUpdateChoices() is scheduled by the throttler
- form is submitted via ajax
- autoCompleteTextField is removed from DOM
- throttler executes actualUpdateChoices()
- wicket-autocomplete fails with precondition, since element is no longer in DOM:
var elementVal = Wicket.$(elementId).value;