<input type = "file"> shows the first "All files (*. *)", not a specific file type in Firefox
I have the following code ( fiddle ):
<input type="file" accept="application/xml">
In IE 10 and Chrome 29.0.1547.76, it is directly filtered for XML files. Only Firefox got the behavior to show all files first. The Firefox file dialog box also has a ".xml" filter, but it is in second place.
Is there a way to get Firefox to use the ".xml" filter as a standard filter?
+4
1 answer
This was discovered as a bug with Mozilla, there seems to be no movement on it, so essentially there is currently no way to change this:
http://support.mozilla.org/en-US/questions/953914#answer-418899 https://bugzilla.mozilla.org/show_bug.cgi?id=826176
+4