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

SohoFleupload: Doesn't support showing all selected files in input field like the behavior in enterprise-wc #8847

Open
FinCheng opened this issue Jun 25, 2024 · 8 comments
Labels
type: bug 🐛 [3] Velocity rating (Fibonacci)

Comments

@FinCheng
Copy link

FinCheng commented Jun 25, 2024

Describe the Issue
We found file upload component doesn't support showing all selected files in input field when configured supporting multiple files uploading. However, in enterprise-wc, it's supported. Not sure whether there is an issue in enterprise component.

To Reproduce
Steps to see the question or problem:

  1. Add file upload component which uses multiple to support multiple files uploading:
    <input soho-fileupload id="fileupload" class="fileupload" name="fileupload" multiple>
    image

  2. Select files to upload
    image

  3. Expect all selected files show in input field but only one file displayed.
    image

What are you trying to do
Does soho-fileupload support multiple files uploading, how can we implement the expected behavior?

What did you try so far
Actually, I found ids-upload in web components support the behavior, not sure why the file upload component in enterprise doesn't support that.
image

Version

  • ids-enterprise: latest version in example page, also found in v4.57.1

Screenshots
See reproduce steps.

Platform

  • OS Version: [Windows 11]
  • Browser Name [chrome]
  • Browser Version [126.0.6478.63 (Official Build) (64-bit)]

Additional Context
N/A

@FinCheng FinCheng changed the title Does soho-fileupload support showing all selected files in input field like the behavior in enterprise-wc? soho-fileupload doesn't support showing all selected files in input field like the behavior in enterprise-wc Jun 25, 2024
@tmcconechy tmcconechy changed the title soho-fileupload doesn't support showing all selected files in input field like the behavior in enterprise-wc SohoFleupload: Doesn't support showing all selected files in input field like the behavior in enterprise-wc Jun 25, 2024
@tmcconechy tmcconechy added type: bug 🐛 [3] Velocity rating (Fibonacci) labels Jun 25, 2024
@tmcconechy
Copy link
Member

@FinCheng
Copy link
Author

@tmcconechy Thanks, let me try or maybe I can implement the behavior by myself as a walkaround.

@FinCheng
Copy link
Author

FinCheng commented Jun 27, 2024

@tmcconechy I tried File Upload (Advanced) component but it seems that the support is limited. e.g. I can't find a way to fail the uploading status.
image
Not sure how you implement the behavior in example(https://main-enterprise.demo.design.infor.com/components/fileupload-advanced/example-failed.html). Only find code like this on the page.
image

Need your help, thanks!

@FinCheng
Copy link
Author

Another question is that how can we avoid uploading duplicate files with File Upload (Advanced) component? I can't find a resolution. Please see the screenshot.
image

@tmcconechy
Copy link
Member

@FinCheng if you upload it twice it would show it twice. I think that might be correct. Not sure if there is any solution, maybe you can try to look at the api and delete the old one if it exists if you really want.

@FinCheng
Copy link
Author

@tmcconechy Thanks, it's reasonable for customer to upload a file twice. However, as you mentioned, I can't find APIs to operate each file upload status. e.g. delete or fail the uploading status. Does the component support that?

@tmcconechy
Copy link
Member

No @FinCheng sorry i dont think it does. Will add some scope to this issue.

@FinCheng
Copy link
Author

@tmcconechy glad to hear that, thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 [3] Velocity rating (Fibonacci)
Projects
Status: Groomed
Development

No branches or pull requests

2 participants