add document attachment multiple

This commit is contained in:
Cüneyt Şentürk
2021-01-22 12:38:17 +03:00
parent e2a2723e28
commit f13677e0a3
7 changed files with 34 additions and 20 deletions

View File

@ -61,7 +61,7 @@ class Document extends FormRequest
'contact_id' => 'required|integer',
'contact_name' => 'required|string',
'category_id' => 'required|integer',
'attachment' => $attachment,
'attachment.*' => $attachment,
];
}