Hi-
The upload action shows a file has successfully uploaded even when no file has been chosen. Shouldn't an error be thrown if there is no file to upload?
I have tried to figure out a way to identify whether a file has been chosen in order to throw my own error, but there does not seem to be any way to do this. If anyone figures it out, I would really appreciate it if you responded to this post with how you did it. Thanks!
The upload action shows a file has successfully uploaded even when no file has been chosen. Shouldn't an error be thrown if there is no file to upload?
I have tried to figure out a way to identify whether a file has been chosen in order to throw my own error, but there does not seem to be any way to do this. If anyone figures it out, I would really appreciate it if you responded to this post with how you did it. Thanks!