Field minSize and maxSize
Open
enhancement
future
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 1.1k
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 21
Description
To filter useless files with respect to my application, a lower file size limit would be useful.
Example: I will never receive files smaller than 1MB.
Reasoning: This would be cleaner, than checking the file size manually in `onFileUploadComplete`.
Proposal (backwards compatible):
```
limits: {
fileSize: [LOWER-LIMIT, UPPER-LIMIT]
}
limits: {
fileSize: UPPER-LIMIT
}
```
Contributor guide
Assessment
This issue has not been assessed yet.