Custom Validation Rule not showing failure message in File upload field.
Hello all. I was trying to make a custom validation rule for a file upload field, but this was returned instead of the correct error message:
Illuminate\Validation\ClosureValidationRule
. So i thought of making a rule class but when I do that the path of the rule is returned instead. Below is my code for the file upload field:
2 Replies