Opened 7 years ago

Closed 7 years ago

#27199 closed Bug (fixed)

Integer inputs marked as type="text" instead of type="number"

Reported by: Rinat Khabibiev Owned by: Rinat Khabibiev
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


This happens because of django.contrib.admin.widgets.AdminIntegerFieldWidget inherits TextInput instead of NumberInput.

Change History (3)

comment:1 Changed 7 years ago by Rinat Khabibiev

Owner: changed from nobody to Rinat Khabibiev
Status: newassigned

comment:2 Changed 7 years ago by Tim Graham

Easy pickings: unset
Has patch: set
Triage Stage: UnreviewedReady for checkin

I thought maybe this wasn't changed intentionally given the concerns in #19686 and #23075, but I didn't see any discussion so I think this is fine. A mention in the release notes as a possible backwards-incompatible change might be needed. PR

comment:3 Changed 7 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In ca9c69a9:

Fixed #27199 -- Made AdminIntegerFieldWidget use NumberInput.

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