Opened 8 months ago

Last modified 8 months ago

#35353 closed Bug

SelectFilter2.js puts the label for Django Admin filter fields in the wrong place — at Version 1

Reported by: Phil Gyford Owned by: nobody
Component: contrib.admin Version: 5.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Phil Gyford)

The label for Django Admin filter fields is appearing after the fields, instead of before. I'm using v5.0.4.

If I use the previous version of static/admin/SelectFilter2.js https://github.com/django/django/blob/e3a4cee081cf60650b8824f0646383b79cb110e7/django/contrib/admin/static/admin/js/SelectFilter2.js then the problem is fixed.

(Via the forum https://forum.djangoproject.com/t/label-not-rendering-above-field/29821/)

Change History (5)

by Phil Gyford, 8 months ago

Screenshot of label in wrong place

by Phil Gyford, 8 months ago

HTML showing label in wrong place

by Phil Gyford, 8 months ago

Screenshot of label using previous version of SelectFilter2.js

by Phil Gyford, 8 months ago

HTML of label using previous version of SelectFilter2.js

comment:1 by Phil Gyford, 8 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top