-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
Description
Current Behavior
When using the permissions selection modal (or any table with checkboxes), the selected rows are cleared after changing the “rows per page” value in pagination.
The issue occurs because the table re-renders the data subset when the page size changes, and the checkbox selection state is not persisted across renders.
Steps to Reproduce
- Open Teams page in Access Management section under Adminstraction Tab.
- Open Permissions Modal
- Tick a few rows on the current page.
- Change the “Rows per page” value in the pagination dropdown.
- Observe that the previously selected checkboxes are lost.
Expected Behavior
Changing the number of rows per page should not clear existing selections.
All previously selected rows (based on their unique ID) should remain checked after pagination or page-size changes, providing a consistent and intuitive user experience.
Dependency-Track Frontend Version
4.7.x
Browser
Google Chrome
Browser Version
No response
Operating System
macOS
Checklist
- I have read and understand the contributing guidelines
- I have checked the existing issues for whether this defect was already reported