Skip to content

Commit

Permalink
Prevent Rows per page deselection
Browse files Browse the repository at this point in the history
  • Loading branch information
laratran committed Dec 7, 2023
1 parent 53ae949 commit fc5c645
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const MRT_TablePagination = <TData extends Record<string, any> = {}>({
data={paginationProps?.rowsPerPageOptions ?? defaultRowsPerPage}
onChange={(value: string | null) => setPageSize(+(value as string))}
value={pageSize.toString()}
allowDeselect={false}
/>
</Group>
)}
Expand Down

0 comments on commit fc5c645

Please sign in to comment.