Closed Bug 604672 Opened 16 years ago Closed 16 years ago

Should have way to clear file upload field in form

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 431098

People

(Reporter: long.zheng, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101015 Firefox/4.0b8pre Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101015 Firefox/4.0b8pre There is no way to clear a browser-native file upload field after selecting a file, even if you "Cancel" the file chooser. This doesn't make it easy for users to "undo" a file upload field. Unless there is Javascript on the page to clear it, you will need to reload the page. Reproducible: Always Steps to Reproduce: 1.Go to site with browser-native file upload (not Flash) 2.Click on "Browse..." 3.Select a file 4.Click on "Browse..." again 5.Click "Cancel" Actual Results: Cancels file selection. Does not clear file upload field. Expected Results: Clear file upload field. Chrome 8 (and possibly earlier) clears file upload if you cancel.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.