Editor file upload hangs on create with no file specified
Editor file upload hangs on create with no file specified
I have a file upload working fine when a file is specified, but if the user presss create without specificing a file the form hangs, when closing to the editor the table get stick on loading. I tried using 'Validate::notEmpty' , for the file, but it has no affect. is there a way to ensure a file is specified to stop the user from uploading an empty form?
thanks
This discussion has been closed.
Answers
The
Validate::notEmpty
validator should be the way to do that. If the form is hanging it suggests that a Javascript error has occurred. Is there anything shown in your browser's console?Thanks,
Allan