#33328: Use native JS events to trigger 'formset:added'/'formset:removed'
--------------------------------------+------------------------------------
     Reporter:  Claude Paroz          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  contrib.admin         |                  Version:  dev
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Carlton Gibson):

 * stage:  Unreviewed => Accepted


Comment:

 This is in line with the previous moves away from the jQuery dependency,
 so +1.


 > However, the difference in passing complementary event data might make
 this move backwards incompatible. I'm not sure there is a clean migration
 path.

 Just imagining, one could listen for the native event and then dispatch a
 jQuery equivalent in the handler I would think. 🤔
 Something to consider on review for the release notes.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33328#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/065.fbd75eb146233daf3aa0b91517f30b6c%40djangoproject.com.

Reply via email to