react-bootstrap-table icon indicating copy to clipboard operation
react-bootstrap-table copied to clipboard

Warnings when using this component

Open urahonky opened this issue 11 years ago • 3 comments

Hello!

This component has saved me a ton of time. I just wanted to let you know that I'm getting two new warnings since importing your latest code:

Warning: Failed propType: Invalid prop data of type object supplied to BootstrapTable, expected array. Check the render method of app.

and

Warning: Don't set .props.clearSortCaret of the React component. Instead, specify the correct value when initially creating the element or use React.cloneElement to make a new element with updated props. The element was created by app.

The first one occurred when I switched to using data sets (to be reactive with the data changes) from an Array of data.

Not a big deal just wanted to make sure you were aware! Thanks again!

urahonky avatar Aug 04 '15 18:08 urahonky

Hi @urahonky , I known these warning and I will use some time to improve it. Anyway, I'm glad that you use react-bootstrap-table and give me some suggestion :)

AllenFang avatar Aug 05 '15 01:08 AllenFang

fix it on v0.9.13 :)

AllenFang avatar Sep 04 '15 13:09 AllenFang

I am facing Same issue v ^4.3.1. any clue.

Ajitprakash avatar Apr 04 '18 04:04 Ajitprakash