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

Add the ability to get the filename from the Upload component on FileRejectedEvent #3087

Closed
FollowSteph opened this issue Apr 28, 2022 · 2 comments · Fixed by #5793
Closed
Labels
enhancement New feature or request Impact: Low

Comments

@FollowSteph
Copy link

FollowSteph commented Apr 28, 2022

Describe your motivation

The method getFilename() is available on the SucceededEvent but not the FileRejectedEvent. This would be very useful to be able to display an error message to let the user know which files failed. Yes it is displayed in the component but in my case I'm trying to separate out the progress bar because it's a button (the upload component) on the top of a grid where displaying the files uploaded, etc. is not necessarily appropriate. See this Stackoverflow question for more details: https://stackoverflow.com/questions/72006963/is-there-a-way-to-separate-out-the-progress-bar-from-the-upload-component-in-vaa

Describe the solution you'd like

FileRejectedEvent adds the method getFileName() the same as SucceededEvent offers.

Describe alternatives you've considered

There is currently no way to know what file failed to upload.

Additional context

No response

@yuriy-fix yuriy-fix added enhancement New feature or request Impact: Low labels May 3, 2022
@yuriy-fix
Copy link
Contributor

Could be related: #1328

@FollowSteph
Copy link
Author

Yes it appears to be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Impact: Low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants