Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
averma
4 years agoNew member | Level 2
Files shown as disabled in dropbox chooser
I am trying to use the dropbox chooser to upload files. The dropbox chooser popup shows all options as disabled
here are my options
const options = {
//@ts-ignore
success: function(files) {
alert("Here's the file link: " + files[0].link)
},
cancel: function() {
console.log('cancelled')
},
linkType: "preview", // or "direct"
multiselect: false, // or true
extensions: ['.pdf', '.doc', '.docx'],
folderselect: false, // or true
sizeLimit: 1024, // or any positive number
};
1 Reply
- Greg-DB4 years ago
Dropbox Community Moderator
You're setting 'sizeLimit: 1024', meaning that the user can only select files smaller than 1024 bytes. Looking at the types of files in the screenshot you shared, they'd presumably be larger than that, so they'd be disabled. You can should remove the 'sizeLimit' option, or set it to a suitable higher value, as needed for your use case.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!
Related Content
- 4 years agoanonymous