This component adds a custom field to save a caption attribute to the images. It has two versions: one to work with the native FileUpload component and another to work with the SpatieMediaLibraryFileUpload component.
You can install the package via composer:
composer require elmudo-dev/filament-custom-attribute-file-upload
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-custom-attribute-file-upload-views"
CustomAttributeSpatieMediaLibraryFileUpload::make('gallery')
->collection('gallery')
->conversion('thumb')
->downloadable()
->panelLayout('grid')
->multiple()
->reorderable(),
CustomAttributeFileUpload::make('gallery')
->downloadable()
->panelLayout('grid')
->multiple()
->reorderable(),
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.