Closed interludic closed 3 years ago
<input type="file" class="upload-filepond{{$class??''}}" name="file" multiple
data-allow-reorder="true"
data-max-file-size="3MB"
data-max-files="3"
accept="image/png, image/jpeg"
/>
and
allowMultiple: true,
It seems it's not possible?
looking at FilepondController $file = is_array($input) ? $input[0] : $input;
the input is hardcoded to only the first item???
Nope looks to be working fine my bad!
Hello!
How do i get multiple files?
this is working fine, $filepond = app(\Sopamo\LaravelFilepond\Filepond::class); $path = $filepond->getPathFromServerId($input['file']); dd($path);
returns the following (for both files!??) eyJpdiI6IjlNREswWEZ0MHlRenMwZU1RR3NVZ3c9PSIsInZhbHVlIjoiL2pkaGRPYktzcGlSdHlOSER3dnR3UUIzelA2anVyVnlBcUp5cXlBaDhzUWVyTWd2bHJycjZhVzFyTmRkZlJaV3BWMkhnSXphai9CdlhVb1YwNG5LVllSNFJ1dno3YS85NWd4bzJYc1plWlZpY0s4QTNLTWJDNXpINHR5NFlvc2MiLCJtYWMiOiJkODc1ODE0YjJhMDdiZWRkZmZjOTY2ZjhkMTc3ZWE5ZDNlODUxMjE1N2Y1YjZjYmQ1MjZiNzg2NzZjNTE5OWYxIn0=
What am i missing?