Closed Dannergal closed 1 year ago
@heath-freenome @epicfaace I saw that you are contributor, Can you help me please?
@Dannergal can you provide a codesandbox.io example? I'm literally walking out the door for a 6 day vacation so I may not be able to look into it for a bit. @nickgros may also be able to help while I'm gone depending on how busy he is.
Sure! thanks!, please I have another question about this library #3723
@heath-freenome @nickgros I share: https://codesandbox.io/p/sandbox/bug-boostrap4-forked-sz6m69
Hey! I had the same issue! On the docs of react-bootstrap, they say you have to install bootstrap as well and import the css in your project. So I installed bootstrap npm install bootstrap
and imported the styles like this:
@import 'bootstrap/scss/bootstrap';
After that, the style is as expected.
Thanks @nickgros , but i cant , i have the error:
@Dannergal this is an issue with your build configuration, not RJSF, so we can't support you. A simple fix would be to import Bootstrap 4 CSS via CDN instead of NPM. See Bootstrap 4 docs.
Prerequisites
What theme are you using?
bootstrap-4
Version
5.x
Current Behavior
I follow the steps from: https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/bootstrap-4 and get this:
I call the Form: import Form from '@rjsf/bootstrap-4';
Expected Behavior
I expected to happen the same in Demo: https://rjsf-team.github.io/react-jsonschema-form/
Steps To Reproduce
Environment
Anything else?
I have the same result with: import Form from '@rjsf/bootstrap-4'; import Form from '@rjsf/core';