Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null value in file input #135

Open
alejsanc opened this issue Dec 31, 2023 · 1 comment
Open

Null value in file input #135

alejsanc opened this issue Dec 31, 2023 · 1 comment

Comments

@alejsanc
Copy link

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
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants