skip to Main Content

Laravel – How can I fix the validation error when adding a file?

I work with laravel and cms orchid. Why a validation error occurs when adding a file via the upload component. Layout::rows([ Select::make('user_id') ->value($this->orders->user_id) ->fromModel(User::class, 'familia'), Upload::make('file')->maxFiles(1)->maxFileSize(50) ->title('Файл для вывода')->acceptedFiles('.pdf,.doc,.docx,.txt'), ]); Message of error: Validation error. File upload error. Code php.ini…

VIEW QUESTION
Back To Top
Search