Error handling and Validation in Multiple File Uploads #37
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
The FileUpload.jsx deals with the uploading one or more Resume files in the PDF format.
File Validation
The function
uploadFiles()
(line 17) is used for uploading the files to the required server endpoint.The task is to validate the format and the size of the Resume file and call the POST Request API only if the ALL the files being uploaded are valid.
The Resume file is valid only if
Error Handling
Surround the code with error handling statements in order to ensure that application doesnt break due to any exceptions during runtime.
The text was updated successfully, but these errors were encountered: