Buy Now
Sign in

upload action shows success even when no file chosen

kgriffin , August 29 2021, 22:29
kgriffin 205
August 29 2021, 22:29 #397008
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!