Closed ghostiam closed 8 years ago
Thank you for this PR too! Can you add a test to make sure it works?
@mholt It is difficult to describe the true test, this depends on the browser, it sends empty fields, and because of this error.
Sorry, I lost my old repository. recreate #53
If the fields have the same name and at least one of them is not filled, the files are not downloaded.
example:
If we fill in only one field of 4 we get the 3 null and 0 files in the variable "uf", although "r.MultipartForm" all files are available. While we do not fill in all fields 4 "input [type = file]", the files will not be the transmitted through Binding.
The reason for this, filling the data to null when the data bindings of "r.MultipartForm.Value"
Before this fix, we get this (upload file 1 of 4):
After this fix (upload file 1 of 4):