AllenFang / react-bootstrap-table

A Bootstrap table built with React.js
https://allenfang.github.io/react-bootstrap-table/
MIT License
2.24k stars 783 forks source link

SEARCH error : click on page 2 and then type few digits or text in Search box #2115

Open vinay0510 opened 4 years ago

vinay0510 commented 4 years ago

https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Pagination&selectedStory=Custom%20Pagination%20with%20Search&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

error: ["Uncaught TypeError: Cannot read property 'id' of undefined", "https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/static/preview.7a078d9cb0b542267fb2.bundle.js", 1, 463612, TypeError] error: [TypeError]

vinay0510 commented 4 years ago

when entered 2nd char it fails, issue with "Custom Pagination with Search"

vinay0510 commented 4 years ago

this is happening when all my columns are formatted columns. In all my column definition row is used instead of cell since formatting is depends on multiple properties. I have

when i change above to below no error but search does not fetch any data **<ToolkitProvider search={ { searchFormatted: true } }

**

ardynugraha commented 2 years ago

still error in latest version