#35277: Issue with the new "formset:added" event
-------------------------------------+-------------------------------------
Reporter: meesterguyman | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* cc: Claude Paroz (added)
* resolution: => invalid
* status: new => closed
Comment:
This is an intended change (eabc22f919e6c1774842e628400b87ac56c47bce) that
it [https://docs.djangoproject.com/en/stable/ref/contrib/admin/javascript
/#inline-form-events documented] and mentioned in
[https://docs.djangoproject.com/en/stable/releases/4.1/#miscellaneous
release notes], so revert is not an option. Also, it's explicitly
documented that:
> ''"For the `formset:added` event, `event.target` **is the newly added
row.**"''
--
Ticket URL: <https://code.djangoproject.com/ticket/35277#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018e173f70a7-5504b755-a7d0-45b0-90e8-5ffb9cd9cc23-000000%40eu-central-1.amazonses.com.