Closed ahmetunal closed 2 years ago
Hello, thanks for noticing this error! Could you describe the use-case that you want to implement and the source code? Thanks again!
This library is still using react-bootstrap@1.0.0-beta.5
(which is Bootstrap 4 API), which can be seen here: https://react-bootstrap-v4.netlify.app/components/forms/#form-props. As shown in the API page, inline
is a boolean
prop.
Hi, we are trying to use this with "bootstrap": "5.1.1"
and "react-bootstrap": "^2.0.0-beta.6"
, maybe that's why the storybook didn't have this error while we get.
So far we didn't get any other problem.
Any suggestions?
hmmm, yes, I can see that's an issue because React Bootstrap 2 has a completely different API than React Bootstrap 1 (because the former uses Bootstrap 5 whereas the former uses Bootstrap 4).
I think we need to update the whole library if we want to make it compatible with Bootstrap 5. Let me see what I can do near this weekend. I'll log an issue. So the tasks list would be somewhat close to:
react-bootstrap
and adjust accordingly to the new APII logged the issue here: https://github.com/imballinst/react-bs-datatable/issues/100
Thank you, that would be great. Please let me know if I can help.
Thank you, that would be great. Please let me know if I can help.
Thanks! I'll let you know. As of now, I'm reviewing your other PR. I really appreciate the contribution! :smile:
Thanks for the quick replies and code review
Sure! If you don't mind, can I close this PR for now? I'll work on the the version that's compatible with React Bootstrap v2.
No problem. Thanks again.
The error:
If you want to write it to the DOM, pass a string instead: inline="true" or inline={value.toString()}. at form at https://localhost:8500/dist/js/bundle.js:86507:3 at PaginationOptsGroup (https://localhost:8500/dist/main.349b81394543d8eb7e98.hot-update.js:32:22)
The solution: Change
inline: true
intoinline: 'true'