Closed thtan89 closed 4 years ago
Are there any errors in the browser console? Have you tried to run collectstatic
?
Hi, @linevych , I have tried run the collectstatic & tried again, below is the screenshots of the output:
But another admin I tried don't have this error but the autocomplete still not works.
I suspect your admin loads another version of JQuery after jquery.easy-autocomplete.js
is loaded. SearchAutoCompleteAdmin
overrides change_list_template
you can check out the template here and customize it if necessary.
Hi @linevych, I tried to customize the template but it also come out the same error "easyAutocomplete is not a function".
Have you checked if any other versions of JQuery are loaded in your code? Is jquery.easy-autocomplete.js
actually loaded?
Closing because of inactivity.
I have tried your code example but the autocomplete does not work.
I have included search_admin_autocomplete change list template also.
Please rectify the issue. Thank you.
Django 2.2.4 Python 3.7