Open
Description
- Django better admin ArrayField version: 1.4.2
- Django version: 4.1.4
- Python version: 3.11
- Operating System: macOS 12.6 (Monterey)
Description
When using a better array field in an inline admin the Add another
button does not work on new items. The Uncaught TypeError: Cannot read properties of undefined (reading '0')
error is seen in the console when adding a new inline item.
This is caused by changes in django 4.1. From the docs:
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.
Possibly related to some of the issues people are having described in issue #25
Metadata
Metadata
Assignees
Labels
No labels