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

Fix allowing multiple files to be dropped onto a single file input #2359

Conversation

omar-ahmed42
Copy link
Contributor

Description

  • Fix a bug that allowed multiple files to be dropped onto a single-file input element by accepting only the first file.

Closes #2358

Checklist

  • I have read the Contribution Guidelines
  • I have performed a self-review of my own code
  • I have attached images of the change if it is UI based
  • I have commented my code, particularly in hard-to-understand areas
  • If my code has heavily changed functionality I have updated relevant docs on Stirling-PDFs doc repo
  • My changes generate no new warnings
  • I have read the section Add New Translation Tags (for new translation tags only)

…e input element

- Fix a bug that allowed multiple files to be dropped onto a single-file input element by accepting only the first file.
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Bug Something isn't working labels Nov 29, 2024
@github-actions github-actions bot added the Front End Issues or pull requests related to front-end development label Nov 29, 2024
@Frooodle Frooodle enabled auto-merge (squash) November 29, 2024 15:52
@Frooodle Frooodle disabled auto-merge November 29, 2024 17:29
@Frooodle Frooodle enabled auto-merge (squash) November 29, 2024 17:29
@Frooodle Frooodle disabled auto-merge November 29, 2024 17:29
@Frooodle Frooodle enabled auto-merge (squash) November 29, 2024 17:29
@Frooodle Frooodle merged commit de23bb7 into Stirling-Tools:main Nov 29, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Front End Issues or pull requests related to front-end development size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Single file input fields allow multiple files in drag and drop
3 participants