forked from applegrew/django-select2
-
-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
I was previously on 8.4.0 and the element was working fine. In it no longer loads any results or the placeholder text, and we get the following javascript error:
$element.select2 is not a function.
It works in 8.4.3, but does not in 8.4.4, so it's likely related to #354
It could just be that I need to change how I include jquery, but I'm not entirely sure how.
My template currently looks like this:
<script type="text/javascript" src="/static/admin/js/vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/static/admin/js/jquery.init.js"></script>
{{ form.media.js }}
{{ form.media.css }}Steps to Reproduce
Load a project using a form similar to the above.
Expected Behavior
select2 should load properly.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working