Skip to content

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
Collaborator

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
10 checks passed
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • @patternfly/react-code-editor@6.1.0-prerelease.13
  • @patternfly/react-core@6.1.0-prerelease.13
  • @patternfly/react-docs@7.1.0-prerelease.21
  • @patternfly/react-drag-drop@6.1.0-prerelease.13
  • demo-app-ts@6.0.0-prerelease.42
  • @patternfly/react-table@6.1.0-prerelease.13
  • @patternfly/react-templates@6.1.0-prerelease.13

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