Closed ghost closed 9 years ago
It was my mistake but got it working.
Does not work
<template name="ticketPage">
{{> dropzone multiple=true formData=ticketData }}
</template>
Solution
<template name="ticketPage">
{{> ticketDropZone }}
</template>
<template name="ticketDropZone">
{{> dropzone multiple=true formData=ticketData }}
</template>
Template.ticketDropZone.helpers({
ticketData: function() {
return {
directoryName: "ticket_" + this._id,
prefix: Meteor.userId(),
ticketId: this._id,
}
}
});
Thank you for this amazing package!
I am running into some issue using the dropzone feature. Each time I drop a file, it returns an error. Not sure how to workaround this.
There is no issue when I am the following code for file uploads
ERROR