0

I found a few (older) answers where someone attempted to implement a select all/select none option in a jQuery dropdown list:

https://github.com/select2/select2/issues/195

Select2 select all dropdown option

I was wondering, is there a way to implement such a thing also in django-select2? Either through JavaScript or Python?

My JavaScript coding capabilities are unfortunately very limited. Simply replacing select2 with djangoSelect2 or django-select2 in the proposed JavaScript didn't do the trick. It starts with the fact that $.fn.djangoSelect2.amd is undefined.

Martin K
  • 33
  • 4

0 Answers0