-
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(DataTable): ignore disabled rows on table select all #5840
fix(DataTable): ignore disabled rows on table select all #5840
Conversation
0b98a18
to
0b5c8d2
Compare
Deploy preview for carbon-elements ready! Built with commit 0b98a18 |
Deploy preview for carbon-components-react ready! Built with commit 0b98a18 https://deploy-preview-5840--carbon-components-react.netlify.com |
Deploy preview for carbon-components-react ready! Built with commit 3f1441f https://deploy-preview-5840--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 3f1441f |
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.
Select all is not grabbing the disabled row / adding to the selected count 👍 ✅
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 👍 - Thanks @emyarod!
Closes #5832
Ref #4430
This PR ignores disabled rows when interacting with the
<TableSelectAll>
checkboxTesting / Reviewing
Confirm that table row selection logic is correct when a data table contains disabled rows (checked, unchecked, and indeterminate states) as well as when no rows are disabled. Also ensure that filtering rows works as intended (ref #2496)