-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] dropzone field does not work #5250
Comments
Hello there! Thanks for opening your first issue on this repo! Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that. Backpack communication channels:
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch. Thank you! -- |
Hey @rezahmady What I can understand so far is The disk is not configured in the right way And to make your config work, you need to link storage via Also, you will notice after using Please go through https://laravel.com/docs/10.x/filesystem#the-public-disk for more info |
Thanks @karandatwani92 Please @rezahmady let us know if @karandatwani92 answer helped you or if still facing issues. Cheers |
This dropzone field has problems that it doesn't work properly:
No matter what is
temporary_disk
value in the field attributes, it adds a/storage
prefix to the first of image url and it cannot be done in any way.It does not move the file from the temporary folder to the main folder after saving. i added this part to field attributes
'withFiles' => [ 'disk' => 'local', 'path' => '/uploads/images', ],
Since I use a language other than English, the part of the setup method is set for me like this:
CRUD::setEntityNameStrings(trans('vod::lang.video_singular'), trans('vod::lang.video_plural'));
This causes it to misidentify the upload link and put the word 'ویدیو' instead of 'video', which actually doesn't work, and I have to add the following part in the field parameters so that there is no error:
'configuration' => [ 'url' => '/admin/video/dropzone/upload', ],
In general, the field does not work with all these explanations.
The text was updated successfully, but these errors were encountered: