Questions tagged [vue2-dropzone]
25 questions
3
votes
1 answer
DropZone.js: How to disable file Uploading and only allow adding to dropzone via drag and drop
In dropzone (or vue2dropzone), is there a way to disable file uploading and only **allow adding to dropzone via drag and drop.
I've a setup where I successfully setup a drag and drop to child Zones (clickable: .czs1,) in a dropzone using a custom…

appu
- 471
- 1
- 8
- 26
2
votes
0 answers
Vue2-Dropzone url endpoint error CORS error HeaderDisallowedByPreflightResponse
i want to using Vue2-Dropzone for uploading multiple image/file. So i following the documentation and this is my options:
options: {
url: 'https://httpbin.org/post',
autoProcessQueue: true,
// thumbnailWidth: null,
…

frankfurt
- 143
- 1
- 5
- 23
2
votes
1 answer
Vue2-Dropzone process form when files manually added
Is it possible to manually process the dropzone form (or queue) when the file is manually loaded?
We have the concept of a drivers license. The user uploads a photo and enters other information such as the license number, expiration date, etc.. The…

Elijah Johannson
- 33
- 1
- 4
2
votes
2 answers
Vue2-Dropzone: How to use removeFile(file)?
I created a custom Dropzone with vue2Dropzone:

Dominic
- 440
- 8
- 22
2
votes
2 answers
Dropzone is not defined when used inside a component
Im currently trying to import vue2-dropzone into my Laravel project so it is using Laravel mix.
I am importing it in my bootstrap.js as below:
import vueDropzone from "vue2-dropzone";
Vue.component('vueDropzone', vueDropzone)
I then want to be…

Gazz
- 1,017
- 3
- 17
- 31
2
votes
0 answers
Rails 5: Combine a normal form with vue2-dropzone
I'm trying to combine a normal form with vue2-dropzone in a Rails 5 app I'm working on.
I think I've almost gotten it to work but the form data isn't being sent across with the Dropzone images.
My _form.html.erb looks a bit like this:
<%=…

DaniG2k
- 4,772
- 36
- 77
1
vote
0 answers
Multiple delete requests occurred in vue2Dropzone
i use laravel6,vue. in my project i use vue2Dropzone.
i made photo update fuction. but it does not work.
I want to load and delete the image of the server on dropzone.
but after delete image on dropzone and i refresh page or go to another page…

Yun Seop Park
- 11
- 1
1
vote
3 answers
How do I update prop options value on the Dropzone VueJs component?
I want to update the url option for the dropzone component dynamically later.
Following is the Vue component I have:
1
vote
2 answers
VueJS dropzone does not working properly on drag/drop
I am using vue2-dropzone library and my complaint is the ref value of a dropzone component doesn't contain the file user droped.
After user adds the second file the ref of dropzone contains only previous one.
But it works correctly when user select…

Li Y
- 63
- 3
- 12
1
vote
1 answer
Cannot get styles to load with Rails 5 & vue2-dropzone
I'm trying to get vue2-dropzone (version 3.0.3) to cooperate nicely with my Rails 5.1.4 app. I've added Dropzone to to my form and loaded the module but somehow I am not able to see the default styles. I don't think this is a problem with…

DaniG2k
- 4,772
- 36
- 77
0
votes
1 answer
Laravel Attach Files Duplicates Database Record
I am using: Laravel, Vue JS, dropzone.
Works fine with one file being uploaded but when 3 files are uploaded it create a new homework record, like so:
Homework ID: 1, Files: 1, 2
Homework ID: 2, Files: 3
Should look like:
Homework ID: 1, Files:…

sam67
- 61
- 2
- 12
0
votes
1 answer
vue-dropzoneJs uploads 0 data to POST api endpoint but gives 200 oke
Simple form with the image upload and a title / description input
0
votes
1 answer
Dropzone + Vue Cannot access the dataURL
Is it possible using dropzone upload file but do not ajax to url. But i can received the file object in Vue? I cannot access the dataURL
dropzoneOptions: {
url: "/api/uploadImg",
thumbnailWidth: 150,
addRemoveLinks: true,
…

Bryant Tang
- 251
- 3
- 19
0
votes
1 answer
How to change param name when uploading file using Vue2-Dropzone?
When uploading file in Vue2-Dropzone, default param name is "file".
But I need to customize it as "upload".
I tried to change it using vdropzone-sending method.
But It sends two params "file" and "upload".
Do I need to change backend to accept the…

gz89
- 532
- 3
- 18
0
votes
1 answer
Unable to Change CSS Stylings of a Class
I have been having this trouble for quite a while. I am unable to target the CSS styling class for the thumbnail preview of vue2-dropzone (vue2dropzone seems to share many similar properties with dropzone.js based on the documentation). Whenever I…

penguin
- 628
- 2
- 10
- 22