Opened 17 years ago
Closed 17 years ago
#4825 closed (fixed)
newforms: Don't set value attribute for file input
Reported by: | 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)
Change History (3)
by , 17 years ago
Attachment: | widgets.diff added |
---|
comment:1 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This was fixed in a different way in [5819].