Multi-file upload: add multiple files in one field
Povilas Korop
Founder of QuickAdminPanel
Founder of QuickAdminPanel
May 3, 2017
Another new function in QuickAdminPanel – a “magic” checkbox that will allow you to add multiple files in your field type “file” or “photo”.
Here’s a short video how it works:
Basically, when creating a field, you will choose whether to use multi-file upload:
And then, in downloaded admin panel, you will be able to add multiple files in one field.
Those files will be uploaded and their data stored in a separate database table called media:
To make it work, we use a package called Laravel Medialibrary by company Spatie – check out their other Laravel packages. Thanks to them!