#28013: admin/inlines.js has different functionality from admin/inlines.min.js
------------------------------------------+------------------------
Reporter: Joseph Solomon | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+------------------------
If you have an inline field in the Django admin that has a name property
that only has a getter and no setter, admin/inlines.js will throw an
exception and stop adding the new inline (on add clicks). When using
admin/inlines.min.js, it does not throw an error and successfully adds the
additional row.
I have run into this issue with using django-trix elements.
An example project is here: https://github.com/istrategylabs/trix_test.
This has been tested with Django 1.10.6 and 1.11rc1.
--
Ticket URL: <https://code.djangoproject.com/ticket/28013>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.2a6dbcebd7f916f5fb9ea183db35eb09%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.