Opened 17 years ago

Closed 17 years ago

#4825 closed (fixed)

newforms: Don't set value attribute for file input

Reported by: Thomas Güttler <hv@…> Owned by: Adrian Holovaty
Component: Forms Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,

here is a small patch. Up to now the FileInput widget set
the value attribute to the content of the file.

This happens if there is an error in the form and the form
gets displayed again with the old post data filled in.

Thomas

Attachments (1)

widgets.diff (755 bytes ) - added by Thomas Güttler <hv@…> 17 years ago.

Download all attachments as: .zip

Change History (3)

by Thomas Güttler <hv@…>, 17 years ago

Attachment: widgets.diff added

comment:1 by Simon G. <dev@…>, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

This was fixed in a different way in [5819].

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