@if (!is_null($error))

{{ $error }}

@endif

Drop here or Browse files

Drop here to upload

accept)) accept="{{ $this->accept }}" @endif @if ($multiple === true) multiple @endif>
@php $hasMaxFileSize = !is_null($this->maxFileSize); $hasMimes = !empty($this->mimes); @endphp @if ($hasMaxFileSize)

{{ __('Up to :size', ['size' => \Illuminate\Support\Number::fileSize($this->maxFileSize * 1024)]) }}

@endif @if ($hasMaxFileSize && $hasMimes) ยท @endif @if ($hasMimes)

{{ Str::upper($this->mimes) }}

@endif
Loading...
Cancel upload
@if (isset($files) && count($files) > 0)
@foreach ($files as $file)
@if ($this->isImageMime($file['extension']))
{{ $file['name'] }}
@else
@endif
{{ $file['name'] }}
{{ \Illuminate\Support\Number::fileSize($file['size']) }}
@endforeach
@endif
@script @endscript