Closed Bug 548264 Opened 16 years ago Closed 16 years ago

Impossible to clear file input fields in forms

Categories

(Firefox :: General, defect)

3.6 Branch
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 431098

People

(Reporter: e4lam, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) If you make a mistake and choose the wrong file in a file input field of a form, it is impossible to clear it. This makes it impossible to make forms which have optional file input fields. Yes, people do make mistakes! Reproducible: Always Steps to Reproduce: 1. Create an HTML form with a file input field. eg. <input type=file name="userfile" size=50 value=""> 2. Load the HTML form and choose a file 3. Now try to clear the filename Actual Results: I could not clear the filename Expected Results: I should have been able to manually edit the filename in the field, including the choice to give it the empty filename. Reproduced on Win32 and Linux 64-bit using Firefox 3.6
Version: unspecified → 3.6 Branch
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.