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