file-picker icon indicating copy to clipboard operation
file-picker copied to clipboard

Limit Number of Files

Open stagfoo opened this issue 9 years ago • 1 comments

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 avatar Aug 11 '16 22:08 stagfoo

@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.

vinodc avatar Aug 11 '16 22:08 vinodc