django-smart-selects
django-smart-selects copied to clipboard
Fix row in formset event
trafficstars
I upgraded to Django 4.2+ a project that uses django-smart-selects and I noticed an error from binfields.js.
After investigating, I found that Django 4.1 removed $row and formsetName parameters.
Changed in Django 4.1: In older versions, the event was a jQuery event with $row and formsetName parameters. It is now a JavaScript CustomEvent with parameters set in event.detail.
Source : https://docs.djangoproject.com/en/4.2/ref/contrib/admin/javascript/#inline-form-events