Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings when using this component #25

Closed
urahonky opened this issue Aug 4, 2015 · 3 comments
Closed

Warnings when using this component #25

urahonky opened this issue Aug 4, 2015 · 3 comments

Comments

@urahonky
Copy link

urahonky commented Aug 4, 2015

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!

@AllenFang
Copy link
Owner

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
Copy link
Owner

fix it on v0.9.13 :)

@Ajitprakash
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants