You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this event, because after success event i want to show file from database (this is needed for relationship between user and database row etc.
So ...
Success event
Temp file is deleting
Save to dropzone real file from DB with all metadata´s.
Ok, but in this case property maxFiles doesnt work, i can upload how many files as i want when i upload it partially (for example one by one), how to solve it?
`
dropzone.on("success", function(file) {
if (file.accepted) {
dropzone.removeFile(file);
let json = JSON.parse(file?.xhr?.response)
let mockFile = { name: json.P2.file.name, size: json.P2.file.size, internalId: json.P2.file.name };
dropzone.displayExistingFile(mockFile, json.P2.file.url);
}
});`
The text was updated successfully, but these errors were encountered:
I have this event, because after success event i want to show file from database (this is needed for relationship between user and database row etc.
So ...
Ok, but in this case property maxFiles doesnt work, i can upload how many files as i want when i upload it partially (for example one by one), how to solve it?
`
dropzone.on("success", function(file) {
The text was updated successfully, but these errors were encountered: