UI enhancements for file request

This commit is contained in:
Čarodej
2022-02-25 09:42:55 +01:00
parent 293eb679fa
commit c3a6f5d703
13 changed files with 152 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
<?php
namespace Domain\UploadRequest\Requests;
use Illuminate\Foundation\Http\FormRequest;
@@ -23,9 +24,10 @@ class StoreUploadRequest extends FormRequest
public function rules()
{
return [
'email' => 'sometimes|string',
'notes' => 'sometimes|string',
'folder_id' => 'required|string',
'email' => 'sometimes|string|nullable',
'notes' => 'sometimes|string|nullable',
'folder_id' => 'sometimes|string',
'name' => 'sometimes|string|nullable',
];
}
}