You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include relevant code or preferably a code sandbox
Describe the bug
I have pre selected a row and pre disabled the same row, but when I uncheck the header select all checkbox, that row becomes unselected. That is unexpected, because I need that row to be selected and not changeable.
To Reproduce
Steps to reproduce the behavior:
set these values selectableRows={selectableRows} onSelectedRowsChange={onSelectedRowsChange} selectableRowDisabled={selectableRowDisabled}
Now uncheck the header column select all checkbox
Expected behavior
Even if the header row is unchecked, the preselected disabled row should not get unchecked
Versions (please complete the following information)
React (RDT requires 18+)
Styled Components
OS: [e.g. iOS]
Browser: chrome, safari
The text was updated successfully, but these errors were encountered:
arif-js
changed the title
[DESCRIPTION] Pre-selected disabled rows get unselected when Header checkbox is unchecked
[BUG] Pre-selected disabled rows get unselected when Header checkbox is unchecked
Oct 15, 2024
Issue Check list
styled-components
Describe the bug
I have pre selected a row and pre disabled the same row, but when I uncheck the header select all checkbox, that row becomes unselected. That is unexpected, because I need that row to be selected and not changeable.
To Reproduce
Steps to reproduce the behavior:
selectableRows={selectableRows} onSelectedRowsChange={onSelectedRowsChange} selectableRowDisabled={selectableRowDisabled}
Expected behavior
Even if the header row is unchecked, the preselected disabled row should not get unchecked
Versions (please complete the following information)
The text was updated successfully, but these errors were encountered: