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'.…
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.