[Django] #35557: BooleanField should be rendered like all other fields

8 views
Skip to first unread message

Django

unread,
Jun 25, 2024, 2:47:17 AM6/25/24
to django-...@googlegroups.com
#35557: BooleanField should be rendered like all other fields
-------------------------------------+-------------------------------------
Reporter: Omid | Owner: nobody
Shojaee |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 5.0
layer (models, ORM) |
Severity: Normal | Keywords: checkbox
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
All Django fields are rendering like:

From Left to Right: Label -> Input widget (or from right to left in case
of RTL sites)

**The only exception is the Boolean field, where the input widget is
rendered first and then the label.
**
(refer to the screenshot attached for some common fields)

The UI design should be based on either a standard, or common sense. This
is neither of those.
--
Ticket URL: <https://code.djangoproject.com/ticket/35557>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 25, 2024, 2:47:26 AM6/25/24
to django-...@googlegroups.com
#35557: BooleanField should be rendered like all other fields
-------------------------------------+-------------------------------------
Reporter: Omid Shojaee | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: checkbox | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Omid Shojaee):

* Attachment "Screenshot 2024-06-25 095603.png" added.

Django

unread,
Jun 25, 2024, 6:08:20 AM6/25/24
to django-...@googlegroups.com
#35557: BooleanField should be rendered like all other fields
-------------------------------------+-------------------------------------
Reporter: Omid Shojaee | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Forms | Version: 5.0
Severity: Normal | Resolution: duplicate
Keywords: checkbox | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* component: Database layer (models, ORM) => Forms
* resolution: => duplicate
* status: new => closed

Comment:

Duplicate of #35556. Please do not create redundant tickets but start a
discussion as Natalie said.
--
Ticket URL: <https://code.djangoproject.com/ticket/35557#comment:1>
Reply all
Reply to author
Forward
0 new messages