If there is no "core/drupal.autocomplete" library loaded on the page then viewsreference causes a JS error.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | viewsreference-fix-js-error-autocomplete-2898797-2.patch | 292 bytes | recrit |
If there is no "core/drupal.autocomplete" library loaded on the page then viewsreference causes a JS error.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | viewsreference-fix-js-error-autocomplete-2898797-2.patch | 292 bytes | recrit |
Comments
Comment #2
recrit commentedThe attached patch adds a library dependency for "core/drupal.autocomplete" to ensure that it is loaded on the page and loaded before the viewsreference JS.
It was not clear the use case to override the autocomplete functionality. If it is not needed, then it should be removed so it does not interfere with all autocomplete functionality on the form.
Comment #4
seanbThanks! Committed and pushed...
Comment #5
seanb