Questions tagged [vue-dropzone]
18 questions
4
votes
1 answer
Vue-Dropzone not working without "url" option
I'm using Vue-Dropzone to upload files with graphql. Everything works fine, but since I'm using graphql I don't need to put an URL in "dropzoneOptions", because I put the query in an Axios API inside a Vuex module like this:
async…

Ionut Birlad
- 39
- 1
- 4
2
votes
2 answers
Declaring third party modules in Quasar with TypeScript
I am trying to use Dropzone-vue on my quasar but apparently i can't simply install it and declare it on a main.js file because quasar doesn't have one. I also get the following error:
Could not find a declaration file for module 'dropzone-vue'.…

Otorrinolaringologista -man
- 1,025
- 6
- 30
- 51
1
vote
0 answers
How to add more file with an existing file in vueDropzone - Laravel?
I got a problem with adding more files on updating products with existing files from the server using vueDropzone. In the first place, I don't have a problem with adding multiple files, but when I edit the product then add more files, or even just I…

Jin
- 153
- 2
- 12
1
vote
1 answer
VueJS: vue2-dropzone
I built a dropzone with vue2-dropzone, and I want to display only the last error message.
To get the error messages, I use the method getRejectedFiles(), which gives me an array of all the failed uploads. I'm then using a `v-for loop to go through…

Dominic
- 440
- 8
- 22
1
vote
2 answers
VueJS: Why parent components method unable to delete/destroy child's child (`vue2-dropzone`) component entirely?
I am creating a slider in vuejs and am using vue2-dropzone plugin for file uploads where each slide (slide-template.vue) has a vue2-dropzone component.
When app loads, image files are manually added in each vue2-dropzone (manuallyAddFile plugins…

appu
- 471
- 1
- 8
- 26
1
vote
1 answer
Uploading a JSON through Dropzone: acceptedFiles: doesnt recognise json
I am trying to upload a JSON through Dropzone.
The MIME type for JSON through acceptedFiles doesn't seem to be recognised.
Already tried:
acceptedFiles: 'application/json'; and
acceptedFiles: '.json';
When using 'application/json', dropzone…

Andrew
- 33
- 5
1
vote
1 answer
How to display Vue-Dropzone response on browser?
I need to render vue-dropzone response to my users. How do i do that?
The file uploads well, i only need to show to notify the user it is uploaded via an alert box or message.

Seun Oyebode
- 41
- 1
- 6
1
vote
1 answer
Is there a working solution to load custom HTML Elements in the vue-dropzone message area?
I've been working around my code using vue-js and vue-dropzone to handle drag-&-drop upload functionality to a site. I added ":useCustomSlot=true" to to the parent html-tag but the content i placed in the dropzone tag is not rendering on the DOM!…

David Mood
- 63
- 1
- 7
1
vote
0 answers
How to access parent attribute from inside Vue dropzone js component?
I´m trying to access a parent component attribute inside the Vue dropzone component. I want to access the photo field of the form from inside the Vue dropzone in order to assign the picture to the form photo field. The code follows:
I´m using a…

Adriel Werlich
- 1,982
- 5
- 15
- 30
1
vote
1 answer
Uploading to Google cloud storage using Signed URL and dropzone ( Vuejs )
I am able to upload to Google cloud storage directly using the below form submission ( after getting signed URL using Nodejs )
0
votes
1 answer
Submitting a dropzone with a form in vue
I've got a form that also uses vue2-dropzone package. I think I've almost got it except that I'm not able to send the rest of my form.
They way I'm trying to get the rest of my form is by grabbing my form object from the data() section, but the only…

cerberusphp
- 67
- 4
0
votes
1 answer
dropzone.js `maxfilesexceeded` event is not getting fired. When adding files programatically
I am using dropzone in my vuejs project. I have set maxFiles: 1 in my dropzone options.
Now I have to show existing file from server in dropzone so i am using this code to add existing file in my dropzone.
let mockFile = { name: 'Filename', size:…

Ninja Turtle
- 1,293
- 2
- 24
- 50
0
votes
1 answer
Vue Dropzone: Sending files from multiple instances in one POST
I am using Vue Dropzone (https://github.com/rowanwins/vue-dropzone) and one of my page's has multiple instances of dropzone for different sections of the same page. I turned off autoProcessQueue so that they don't upload automatically after adding…

raulInsto
- 85
- 11
0
votes
1 answer
Why is the attribute 'key' and 'vars' not recognised
public function store (Request $request)
{
$images = request()->file ( key:'file');
dd( ...vars: $images);
}
Is the key: and ...var: attribute not reccognized in Laravel 5.8, because it keeps throwing syntax error at me?
0
votes
1 answer
I get the error when i try get 50% of the image with cropperJS
I want to get 50% of the image with 'cropperJS'. I create a new Image() and try to create new Cropper for further obtaining canvas. And I get the error 'Cannot read property 'insertBefore' of null', please help me to solve this problem. Or show me…

Vadim
- 3
- 1