django-cms / djangocms-url-manager

Other
5 stars 13 forks source link

Issue initialising Select2 #79

Closed marksweb closed 2 years ago

marksweb commented 2 years ago

I've got an issue where the select2 elements aren't being initialised.

At first I thought it's an issue with the dom not being ready, because from the console I can switch the elements to select2 just like the app JS does.

Then I swapped the jquery being used from CMS.$, to django.jQuery and it just works.

Screenshot 2022-02-18 at 19 33 04 Screenshot 2022-02-18 at 19 33 45

Packages I'm using;

django>=3.2,<4.0
-e git://github.com/django-cms/django-cms.git@develop-4#egg=django-cms
-e git://github.com/Aiky30/djangocms-url-manager.git@feature/django-32-compat#egg=djangocms-url-manager
https://github.com/django-cms/djangocms-versioning/tarball/master#egg=djangocms-versioning
-e git://github.com/django-cms/djangocms-text-ckeditor.git@support/4.0.x#egg=djangocms-text-ckeditor
-e git://github.com/FidelityInternational/djangocms-pageadmin.git@1.0.0#egg=djangocms-pageadmin
-e git://github.com/FidelityInternational/djangocms-version-locking.git@master#egg=djangocms-version-locking
marksweb commented 2 years ago

Closing this as I can't replicate on a fairly empty project.