Opened 7 years ago

Closed 7 years ago

#28319 closed Bug (fixed)

Make TextField with choices use a Select widget

Reported by: Maciej Jaworski Owned by: nobody
Component: Forms 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: yes UI/UX: no

Description

When choices are specified on the field the form widget should be the select one, for TextField some code overrides it to TextArea.

I've created a PR with a fix:
https://github.com/django/django/pull/8633

Change History (2)

comment:1 by Tim Graham, 7 years ago

Component: Database layer (models, ORM)Forms
Summary: TextField form widget is being overridden when choices are specified.Make TextField with choices use a Select widget
Triage Stage: UnreviewedReady for checkin

comment:2 by Tim Graham <timograham@…>, 7 years ago

Resolution: fixed
Status: newclosed

In dc63ad7a:

Fixed #28319 -- Made TextField with choices use a Select widget.

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