Devwares-Team / cdbreact

Contrast Design Bootstrap : Elegant UI Kit and reusable components for building mobile-first, responsive websites and web apps

Home Page:https://www.devwares.com/product/contrast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I get this error => "Uncaught TypeError: Cannot convert undefined or null to object"

m3nur opened this issue · comments

There is no such error in earlier versions, please fix it

Same problem here,
It looks like it apears with high value of entriesOptions in datatable for me

@m3nur @MaximeNe thanks for reporting this. We will take look ASAP

@m3nur @MaximeNe can you replicate this on codesandbox ? I have not been able to replicate this with the data table component

https://codesandbox.io/p/sandbox/naughty-sara-3qws3i?welcome=true
I have some buttons to set the data in the DataTable. When paging is true and custom entresOptions is used, then clicking on the "5000" btn, then the "1000" btn and then the "5000" btn make the app crash.
If the combination does not work, try other combinations of butons.

@MaximeNe Thanks for the codesandbox! This issue was fixed in the latest version of cdbreact!

It should be fixed once you update to the latest version v1.5.13 . But let me if you are still getting this error after updating
CC: @m3nur

I will let you know when I check, thank you very much.

This seems to work properly for me now thanks !