Opened 19 months ago

Last modified 6 months ago

#35353 closed Bug

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

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

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.

Images to explain: https://imgur.com/a/QfXjLLM

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

Change History (4)

by Phil Gyford, 19 months ago

Screenshot of label in wrong place

by Phil Gyford, 19 months ago

HTML showing label in wrong place

by Phil Gyford, 19 months ago

Screenshot of label using previous version of SelectFilter2.js

by Phil Gyford, 19 months ago

HTML of label using previous version of SelectFilter2.js

Note: See TracTickets for help on using tickets.
Back to Top