Looks like there's a bug when using both pagination and the search bar from the toolkit.
To reproduce:
It throws the following error and crashes the app:
TypeError: Cannot read property 'name' of undefined
... where 'name' is the keyField passed to the ToolkitProvider.
Any ideas what this might be?
@dillobird ok, I will check this out, sorry for lately reply.
@dillobird btw, what version u used, list all of the related packages. thanks
@AllenFang No worries mate! Package versions below:
"react-bootstrap-table-next": "^1.1.1",
"react-bootstrap-table2-paginator": "^1.0.1",
"react-bootstrap-table2-toolkit": "^1.0.1",
ok, thank you
@dillobird will fixed in next release, actually, we already fixed it
https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/474
https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/489
@AllenFang You鈥檙e a gentleman and a scholar. Thank you!
When鈥檚 the next release due out?
@dillobird I think about 8/21 or 22.
@dillobird we fixed this issue in [email protected], [email protected] and [email protected]. check this
Please reopen this issue if the problem still remain, thanks
Fixed! Thanks again @AllenFang.
@AllenFang I can reproduce the above bug in the latest version:
[email protected]
[email protected]
[email protected]
[email protected]
In addition, I have a related issue.
To reproduce:
Like above, it throws the following error and crashes the app:
Uncaught TypeError: Cannot read property 'name' of undefined
... where 'name' is the keyField passed to the ToolkitProvider.
I would really appreciate your help with this. And thank you for this library.
Most helpful comment
@dillobird I think about 8/21 or 22.