file-picker
file-picker copied to clipboard
Limit Number of Files
Hi, I was wondering if there was an ability to limit the user to only upload 2 files from the chooser is, this possible?
@stagfoo Not at the current time. However, this is definitely possible to add in to the source. plupload (the library used for the Computer upload option) supports listening on the FilesAdded event, which can be used to check the length of the queue. In addition, the maximum number of files selected for the cloud services can be modified.
I've added an enhancement tag to this issue. We'd also be happy to review any patches you would like merged in upstream to support this capability.