Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

316
Views
Vue Dropzone Success Multiple Event Triggers Multiple Times

I was trying to do some API requests after the uploading is finished and i noticed that @vdropzone-complete-multiple event is triggered multiple times.

    <vue-dropzone ref="myVueDropzone" id="dropzone" :options="dropzoneOptions" :useCustomSlot="true" 
                  @vdropzone-success-multiple="uploadComplete" />

Options:

  dropzoneOptions: {
                url: '/admin/files/upload',
                thumbnailWidth: 200,
                maxFilesize: 0.5,
                uploadMultiple: true,
                acceptedFiles: 'image/*',
                renameFile: function (file) {
                    let newName = new Date().getTime() + '_' + file.name;
                    return newName;
                },
                headers: { 'X-CSRF-TOKEN': this.token }
            }

Method:

  uploadComplete(data, re) {
            console.log(re)
        }

Am i doing anything wrong?

Vue-Dropzone version: ^3.6.0

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!