In the latest chrome and firefox browsers, when you click on a proposed suggestion you get following javascript error:
ReferenceError: input is not defined
input.value = $(node).data('autocompleteValue');
Fixed by (re-)adding this. to input.value:
this.input.value = $(node).data('autocompleteValue');
Problem was introduced in related issue #2338923.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix_auto_suggest_input_click-2733443-1.patch | 494 bytes | lorenzs |
Comments
Comment #1
lorenzs commentedlorenzs created an issue.
Patch attached with fix.
Comment #2
lorenzs commentedComment #3
lorenzs commentedComment #4
iamEAP commentedThanks @lorenzs! I was able to reproduce the error you mentioned on SimplyTest.me. I was also able to verify that your patch resolves the issue and functionality (including selecting suggestions by click and by using the enter key) is restored.
Comment #6
iamEAP commentedThis will be available in the 7.x-1.6 release.