acceptedFiles parameter is removed due to default value is defined for acceptedFiles option

This commit is contained in:
Sevan Nerse
2021-01-29 16:23:31 +03:00
parent 1b5f66489a
commit 2c6b107a15
14 changed files with 17 additions and 13 deletions

View File

@ -31,7 +31,7 @@
@if (!$hideAttachment)
<div class="col-md-12">
{{ Form::fileGroup('attachment', trans('general.attachment'), '', ['dropzone-class' => 'w-100', 'multiple' => 'multiple'], !empty($document) ? $document->attachment : null , 'col-md-12') }}
{{ Form::fileGroup('attachment', trans('general.attachment'), '', ['dropzone-class' => 'w-100', 'multiple' => 'multiple', 'options' => ['acceptedFiles' => $file_types]], !empty($document) ? $document->attachment : null , 'col-md-12') }}
</div>
@endif
</div>