Implemented different approach for file persistence on validation and made a temporary save folder.
It will now check for files in the folders directly instead of passing file objects through the controller. Also it will upload the files into a temporary location if the form validation fails and move them into permanent storage when form submit is successful.
Please register or sign in to comment