Open njaciklum opened 3 years ago
Kindly refer to https://laravel.com/docs/8.x/validation#creating-form-requests for applying validations
It would be better if you handle the add and edit validation in same request.
This is already implemented and can be seen in ProductController.php. Also as same request is used in both store and update methods.
Kindly refer to https://laravel.com/docs/8.x/validation#creating-form-requests for applying validations
It would be better if you handle the add and edit validation in same request.