Skip to content
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

Fixed not able to clear selections when bulk selected all row is true #2151

Conversation

sritabh
Copy link
Contributor

@sritabh sritabh commented Mar 28, 2024

Description
Fixed: Clearing all rows by directly changing selectedRowKeys not working when bulkSelectedAllRowsProps is passed.

Checklist

- [ ] I have made corresponding changes to the documentation.
- [ ] I have updated the types definition of modified exports.

  • I have verified the functionality in some of the neeto web-apps.
    - [ ] I have added tests that prove my fix is effective or that my feature works.
    - [ ] I have added proper data-cy and data-testid attributes.
  • I have added the necessary label (patch/minor/major - If package publish
    is required).

Reviewers

@neetodeploy neetodeploy bot temporarily deployed to neeto-ui-pr-2151 March 28, 2024 10:48 Inactive
@sritabh sritabh added the patch Releases small requests or bug fixes. label Mar 28, 2024
@sritabh sritabh marked this pull request as ready for review March 28, 2024 11:04
@sritabh
Copy link
Contributor Author

sritabh commented Mar 28, 2024

@josephmathew900 _a Please review

@josephmathew900
Copy link
Contributor

@farhanlatheef _a please review.

src/components/Table/index.jsx Show resolved Hide resolved
src/components/Table/index.jsx Outdated Show resolved Hide resolved
@farhanlatheef
Copy link
Contributor

@sritabh _a

@neetogit-bot neetogit-bot bot assigned sritabh and unassigned farhanlatheef Mar 29, 2024
@sritabh
Copy link
Contributor Author

sritabh commented Mar 29, 2024

@farhanlatheef _a I have made the suggested changes and tested it in neetoForm, please review.

@neetogit-bot neetogit-bot bot assigned farhanlatheef and unassigned sritabh Mar 29, 2024
@farhanlatheef farhanlatheef merged commit 6469525 into main Mar 29, 2024
1 check passed
@farhanlatheef farhanlatheef deleted the 2150-allows-clearing-of-all-row-when-bulkSelectedAllRowsProps-is-passed branch March 29, 2024 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Releases small requests or bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle direct changes to selectedRowKeys prop in case of bulkSelectAllRowsProps
3 participants