react-data-table-component icon indicating copy to clipboard operation
react-data-table-component copied to clipboard

Paginator select needs an id or name attribute

Open FaroJoaoFaro opened this issue 1 year ago • 0 comments

Issue Check list

  • [X ] Agree to the Code of Conduct
  • [X ] Read the README
  • [X ] You are using React 16.8.0+
  • [X ] You installed styled-components
  • [ ] Include relevant code or preferably a [code sandbox](https://codesandbox.io/embed/react-data-table-sandbox-ccyuu Not needed )

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)

  • React (RDT requires 16.8.0+) - 18.2.0
  • Styled Components - 5.3.3
  • OS: [e.g. iOS] - Windows 10 - Not relevant
  • Browser [e.g. chrome, safari, firefox] - Chrome

FaroJoaoFaro avatar Apr 14 '24 19:04 FaroJoaoFaro