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

Enhancement: MultiFileUpload: Customizable Notifications for errors #28

Open
devAnky opened this issue Mar 27, 2017 · 1 comment
Open

Comments

@devAnky
Copy link

devAnky commented Mar 27, 2017

I used setAcceptFilter("application/pdf") on MultiFileUpload.
But since this does only set a default filter for the file chooser, the user can still chose to show all files and upload a non pdf. In this case the component will show a notification with "File is wrong type!".
This notification text seems to be hard coded and not customizable.
It would be nice if it was.

@ohens
Copy link

ohens commented Jan 24, 2018

Hi,
thanks for this great addon. I really appreciate the ability to restrict file types and maximum size on the client side.

I would also love to be able to localize/customize the error notifications, especially for the maximum file size error.

Regards, Onno

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

No branches or pull requests

2 participants