Closed Bug 154423 Opened 23 years ago Closed 23 years ago

Input File Element Wipes Values when hid.

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 152844

People

(Reporter: nick, Assigned: john)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) BuildID: 2002062624 On this page, I use CSS display:none; to hide content within tables. After selecting a file from the hard drive, hiding the table in which the file form element is in erases the value. 1. Select file from harddrive. 2. Move to Tab 2 3. Move back to first tab. You'll notice that the file element value disappears. I have an onChange event in use which I though might be causing it so I removed the onChange event to find that it was producing the same result regardless. Reproducible: Always Steps to Reproduce: 1. Select file from harddrive. 2. Move to Tab 2 3. Move back to first tab. Actual Results: Erases content within the form element file value. Expected Results: To keep the file value regardless unless form reset or user removes value manually.
-->
Assignee: rods → jkeiser
Please, whenever you put a test page in a restricted area provide user:password to access it. Anyway, this is a dup. *** This bug has been marked as a duplicate of 152844 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.