Fix Validierung

main
Alex 2 years ago
parent 8f6926c1cc
commit 24c224f246

@ -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'],

Loading…
Cancel
Save