Opened 9 years ago

Closed 9 years ago

#4014 closed (wontfix)

TextField in newforms

Reported by: esauro@… Owned by: adrian
Component: Forms Version: master
Severity: Keywords: TextField, Textarea
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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)

textfield.diff (1.1 KB) - added by esauro@… 9 years ago.
A modification of django.newforms.fields

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by esauro@…

A modification of django.newforms.fields

comment:1 Changed 9 years ago by adrian

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to 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.
Back to Top