Closed leibowitz closed 4 years ago
@leibowitz this makes sense, merging.
I just tested on the latest django (3.0.6), and this change seems to break the with ManyToMany
and horizontal=True
as it's not loading the data anymore. This seems to be because the .filtered
class it not being searched for in bindfields.js
Fix => https://github.com/jazzband/django-smart-selects/pull/298
The remaining issue I can see is horizontal=True
is throwing an error (both with or without these two changes, so not related) which I will try to fix as well in another PR
https://github.com/jazzband/django-smart-selects/issues/299
Fix the
ManyToMany
field whenhorizontal=True
by making sure theSelectFilter2
is loaded first.