-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(FileUploader): respect multiple prop in default file uploader #5492
fix(FileUploader): respect multiple prop in default file uploader #5492
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 - Thanks @emyarod!
Deploy preview for carbon-elements failed. Built with commit 9604d7e https://app.netlify.com/sites/carbon-elements/deploys/5e5ee2e5d9971c0009bb951f |
Deploy preview for carbon-components-react ready! Built with commit 9604d7e https://deploy-preview-5492--carbon-components-react.netlify.com |
Should this address the drag and drop variant as well? It seems to have the |
the drag and drop file uploader does not control the file list* so it doesn't have this issue out of the box. but I can update the example application to match this behavior |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
aa88a09
to
6d3f935
Compare
Closes #2537
This PR will restrict the file list to 1 file if the
multiple
prop is false in the default file uploaderChangelog
Changed
multiple
is falseTesting / Reviewing
Ensure only one file is listed when
multiple
is false in default file uploader