jazzband / django-smart-selects

chained and grouped selects for django forms
https://django-smart-selects.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.1k stars 348 forks source link

Init horizontal filtered on load #298

Closed leibowitz closed 4 years ago

leibowitz commented 4 years ago

After https://github.com/jazzband/django-smart-selects/pull/273 was merged, in latest django (3.0.6) I'm not getting any events fired in bindfields.js when using ManyToMany fields with horizontal=True. This is because the initItem is not called on .filtered class on load

leibowitz commented 4 years ago

Duplicate of https://github.com/jazzband/django-smart-selects/pull/271