Opened 8 years ago

Closed 8 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

Description

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

Change History (3)

comment:1 by Rinat Khabibiev, 8 years ago

Owner: changed from nobody to Rinat Khabibiev
Status: newassigned

comment:2 by Tim Graham, 8 years ago

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 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In ca9c69a9:

Fixed #27199 -- Made AdminIntegerFieldWidget use NumberInput.

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