file group partial enhancement

This commit is contained in:
Cüneyt Şentürk
2021-01-22 14:12:24 +03:00
parent f13677e0a3
commit 964a4f5c4b
3 changed files with 36 additions and 30 deletions

View File

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