Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in validation for maximum file size #87

Open
dlockhart opened this issue Jan 19, 2021 · 0 comments
Open

Built-in validation for maximum file size #87

dlockhart opened this issue Jan 19, 2021 · 0 comments

Comments

@dlockhart
Copy link
Contributor

In many cases, allowing the user to upload a 2TB file isn't desirable. This component should support a max-file-size attribute to limit the size. If they try to upload a file that exceed the max, a built-in error message should be displayed.

This will be helpful:
https://github.com/BrightspaceUI/intl#file-size-formatting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant