Hi,
I removed the add button from the panel, and I manually call the resolve function.
// This is the dialog
const dialog = uploadcare.openPanel('#uploader-placeholder', null, {
multiple: true,
doNotStore: true,
tabs: ['file', 'gdrive', 'dropbox']
});
// This is the resolve call on form submit
dialog.resolve()
uploader.done(function (result) {
// Here the result.files() is a promise also, so I dont understand how to get the files ids.
})