django-smart-selects icon indicating copy to clipboard operation
django-smart-selects copied to clipboard

Fix row in formset event

Open nortigo opened this issue 1 year ago • 0 comments
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

nortigo avatar Sep 09 '24 20:09 nortigo