From 24c224f246896177ceaed94780423a782f9d5c86 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 24 Jul 2023 22:10:40 +0200 Subject: [PATCH] Fix Validierung --- src/app/Http/Livewire/DeckForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/Http/Livewire/DeckForm.php b/src/app/Http/Livewire/DeckForm.php index 4aca7cd..1f26944 100644 --- a/src/app/Http/Livewire/DeckForm.php +++ b/src/app/Http/Livewire/DeckForm.php @@ -27,8 +27,8 @@ class DeckForm extends Component 'uname' => ['required', 'unique:App\Models\Deck', 'string', 'size:4'], 'description' => ['nullable'], 'card_count' => ['required', 'numeric'], - 'cover_path' => ['required','image'], - 'backside_path' => ['required','image'], + 'cover_path' => ['required','string'], + 'backside_path' => ['required','string'], 'author' => ['nullable'], 'publisher' => ['nullable'], 'type' => ['nullable'],