Opened 19 years ago
Closed 19 years ago
#4014 closed (wontfix)
TextField in newforms
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | TextField, Textarea | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
IMHO TextField (textarea) could be an interesting field type however newforms don't have it directly but handly passing a widget to another field type such as CharField. I have write just a couple of lines that works for me.
Attachments (1)
Change History (2)
by , 19 years ago
| Attachment: | textfield.diff added |
|---|
comment:1 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Field objects are responsible for validation, not display. Use TextField(widget=Textarea) to accomplish what you want to do.
Note:
See TracTickets
for help on using tickets.
A modification of django.newforms.fields