Opened 17 years ago

Closed 17 years ago

#4014 closed (wontfix)

TextField in newforms

Reported by: esauro@… 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)

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

Download all attachments as: .zip

Change History (2)

by esauro@…, 17 years ago

Attachment: textfield.diff added

A modification of django.newforms.fields

comment:1 by Adrian Holovaty, 17 years ago

Resolution: wontfix
Status: newclosed

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