WICG / proposals

A home for well-formed proposed incubations for the web platform. All proposals welcome.
https://wicg.io/
Other
233 stars 16 forks source link

Null value in file input #135

Open alejsanc opened 10 months ago

alejsanc commented 10 months ago

When a file input has a file selected, the file is sent. When there is no file selected, nothing is sent. On the server there is no way to distinguish between null or absent. There should be some way to give null value to a file input if we want to delete its contents on the server. It is a similar problem to that of checkboxes.

marcoscaceres commented 8 months ago

@alejsanc, have you filed this issue on HTML? This seems more like an oversight (or bug?) with HTML instead of something that would require incubation.