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
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:



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.


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@…>

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

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