laravel-datatables-editor
laravel-datatables-editor copied to clipboard
Uploading files and images
Summary of problem or feature request
I couldn't figure out how to upload files and images with the editor. I'm doing some tests but I always get the same error, is there a guide or documentation to understand how to do it? I need to enable uploading of pdf files and images but I'm completely stuck and don't understand how to do it
Code snippet of problem
System details
- Operating System Linux
- PHP Version 8.2
- Laravel Version 10
- Laravel-DataTables Version 10.1
- Laravel-DataTables Editor Version 1.25
Use the File or Image field, then set some upload rules. Inspect the ajax request to see the payload. Unfortunately, it's not well-documented atm. Thanks!
Fields\Image::make('avatar')
->fieldInfo('The image must be square and at least 200x200 pixels.'),
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been inactive for 7 days since being marked as stale.