Skip to content

feat(FileUpload): expose dropdown error types #11289

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

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

mfrances17
Copy link
Contributor

What: Closes #10521

This allows devs to capture and act on native react-dropzone error codes. Added an example of doing so to the existing FileUploadWithRestrictions example. Also fixed a legacy bug in that example in which, after dropping an invalid file, the error states were remaining even if subsequently dragging and dropping valid files.

@mfrances17 mfrances17 self-assigned this Nov 25, 2024
@patternfly-build
Copy link
Contributor

patternfly-build commented Nov 25, 2024

@wise-king-sullyman wise-king-sullyman self-requested a review December 2, 2024 15:56
@wise-king-sullyman wise-king-sullyman merged commit 469ea9d into patternfly:main Dec 2, 2024
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

mattnolting pushed a commit to mattnolting/patternfly-react that referenced this pull request Feb 14, 2025
* feat(FileUpload): expose dropdown error types

* updated due to dropzone changes and fixed legacy bug in example
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

Successfully merging this pull request may close these issues.

FileUpload - Expose Dropzone Error Types
4 participants