Opened 9 years ago

Closed 9 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: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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@…> 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Thomas Güttler <hv@…>

Attachment: widgets.diff added

comment:1 Changed 9 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 9 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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

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