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

File upload component ignores multiple=false when dragging files #1663

Open
themoenen opened this issue Oct 21, 2024 · 4 comments
Open

File upload component ignores multiple=false when dragging files #1663

themoenen opened this issue Oct 21, 2024 · 4 comments

Comments

@themoenen
Copy link

themoenen commented Oct 21, 2024

Detailed description

Describe in detail the issue you're having.
The multiple flag for the file uploader compoment (which controls whether you can upload more than one file or not) is ignored when you drag files onto it.

Is this a feature request (new component, new icon), a bug, or a general issue?
Bug

Is this issue related to a specific component?
The file uploader compoment

What did you expect to happen? What happened instead? What would you like to see changed?
It should be impossible to select more than one file when multiple is set to false, regardless of the way the files are added.

What browser are you working in?
Chrome

What version of the Carbon Design System are you using?
3.0.21

What offering/product do you work on? Any pressing ship or release dates we should be aware of?
OpenAD - No urgency as we'll build our own alternative component.

<cv-file-uploader
  label="Dataset"
  accept=".csv"
  helperText="Upload your dataset as CSV file."
  :multiple="false"
  @change="(e: Event) => emit('change', e)"
/>

Image

Copy link

github-actions bot commented Nov 7, 2024

This issue has been marked as stale because it has required additional
info or a response from the author for over 14 days. When you get the
chance, please comment with the additional info requested.
Otherwise, this issue will be closed in 28 days.

@github-actions github-actions bot added the stale 🍞 No recent activity label Nov 7, 2024
@themoenen
Copy link
Author

No request for additional info was made. Please let me know if you need any additional information.

@github-actions github-actions bot removed the stale 🍞 No recent activity label Nov 10, 2024
Copy link

This issue has been marked as stale because it has required additional
info or a response from the author for over 14 days. When you get the
chance, please comment with the additional info requested.
Otherwise, this issue will be closed in 28 days.

@github-actions github-actions bot added the stale 🍞 No recent activity label Nov 24, 2024
@davidnixon davidnixon removed the stale 🍞 No recent activity label Dec 6, 2024
Copy link

This issue has been marked as stale because it has required additional
info or a response from the author for over 14 days. When you get the
chance, please comment with the additional info requested.
Otherwise, this issue will be closed in 28 days.

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