Opened 8 years ago
Closed 8 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 , 8 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: | Unreviewed → Ready for checkin |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In dc63ad7a: