- Issue created by @lbesenyei
Uploaded files that fail validation are displayed with a tooltip error, but by submitting a form the field value remains empty.
In case of required fields the error is not properly handled.
The upload validation itself is done in the submitForm rather than the validateForm, hence it does not prevent form submission.
Even if moving the validation to the validateForm method, we loose the files that were successfully uploaded (in case of multi value field)
So, a workaround I'm using is removing the files that have an error from the dropzone.
While this is a workaround i think there should be a way to properly handle dropzone upload errors.
Active
3.0
Code