-
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
feat(multiselect): new All option for multiselect #16236
feat(multiselect): new All option for multiselect #16236
Conversation
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Hey @Gururajj77 and @preetibansalui
Awesome new functionality! it is working perfect 🚀
Just a couple things I noticed
Co-authored-by: kennylam <[email protected]>
@Gururajj77 Is this ready to re-reviewed? |
Yes, it's ready @laurenmrice |
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.
Selected items in the dropdown, needs to move up to the top of the list when dropdown is reopened. This functionality seems to missing. Please check.
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.
This looks good from a functional perspective. From a formatting perspective, the following alignments could get minor fixes:
- Vertical alignment for the checkbox with the text
- Vertical alignment for indeterminate icon within the checkbox
Thank you for your work on this.
Hi Benjamin, I have fixed the alignment issue, Can you please review the changes again. Thanks! |
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.
This looks good. All alignment issues seems fixed. No functional issues either. Thank you.
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.
This looks really great! The removals in the tests create some gaps in the test coverage. We should be able to find equivalents for those to keep the same coverage while no longer relying on data-contained-checkbox-state
packages/react/src/components/MultiSelect/__tests__/MultiSelect-test.js
Outdated
Show resolved
Hide resolved
packages/react/src/components/MultiSelect/__tests__/MultiSelect-test.js
Outdated
Show resolved
Hide resolved
packages/react/src/components/MultiSelect/__tests__/MultiSelect-test.js
Outdated
Show resolved
Hide resolved
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.
I pushed a fix for the tests, LGTM!
20c5abc
Closes #16117
Select All feature for multiselect
Changelog
New
Changed