diff --git a/src/Http/Requests/FormRequest.php b/src/Http/Requests/FormRequest.php index e66c559..7e41cf4 100644 --- a/src/Http/Requests/FormRequest.php +++ b/src/Http/Requests/FormRequest.php @@ -12,8 +12,8 @@ public function rules() 'start_date' => 'required|date_format:"Y-m-d\TH:i"', 'end_date' => 'required|date_format:"Y-m-d\TH:i"|after_or_equal:start_date', 'image_id' => 'nullable|integer', - 'slug.*' => 'nullable|alpha_dash|max:255', 'title.*' => 'nullable|max:255', + 'slug.*' => 'nullable|alpha_dash|max:255|required_with:title.*', 'venue.*' => 'nullable|max:255', ]; }