Hi!
Bad the exact same issue. You can solve this by defining your own "validator" function inside your form request class.
The default validation doesn't use the $_FILES array.
/** * Get the validator instance for the request. * * @param $factory \Illuminate\Validation\Factory * * @return \Illuminate\Validation\Validator */ public function validator($factory) { return $factory->make( $this->all(), $this->rules() ); }
Edit: sorry for the formatting issues. I'm writing this on my phone ;) I'll edit it later
Hello,
I made a pull request because I think that getValidatorInstance() must be changed to get all inputs.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community