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

Messages are not visible in simple uploader #343

Closed
h-guerrero opened this issue Jun 15, 2020 · 2 comments
Closed

Messages are not visible in simple uploader #343

h-guerrero opened this issue Jun 15, 2020 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@h-guerrero
Copy link

Hi, I am using the FileUpload basic with auto component. I set a maxFileSize attribute for 1mb, when I choose a heavier file I see no error.

I found the "invalidFileSizeMessage" attribute but nothing is visible on @error event.

How can I catch the invalid file size message? Thanks!

@cagataycivici cagataycivici changed the title FileUpload alert user when maxFileSize attribute is surpassed Messages are not visible in simple uploader Jul 4, 2020
@cagataycivici cagataycivici self-assigned this Jul 4, 2020
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jul 4, 2020
@cagataycivici cagataycivici added this to the 2.0.0-rc.3 milestone Jul 4, 2020
@cagataycivici
Copy link
Member

Added support for messages in simple mode as well, note that error is for http code, this is more like validation error so a message is displayed instead.

@alqa-dash
Copy link

alqa-dash commented Apr 20, 2022

How can one internationalize error messages to be able to display file name, localized message and file size?

Found solution - no need to react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants