jbetancur / react-data-table-component

A responsive table library with built-in sorting, pagination, selection, expandable rows, and customizable styling.
https://react-data-table-component.netlify.app
Apache License 2.0
2.06k stars 413 forks source link

Paginator select needs an id or name attribute #1226

Open FaroJoaoFaro opened 7 months ago

FaroJoaoFaro commented 7 months ago

Issue Check list

Describe the bug

When using a DataTable with 'pagination' the pagination select doesn't have an id or name attribute which makes the browser prompt an error of not having id or name attribute.

To Reproduce

Create a datatable with pagination and open browser console, where the error appears.

Expected behavior

Having an id or name attribute in the pagination select.

Code Sandbox, Screenshots, or Relevant Code

image image

Versions (please complete the following information)