react-jsonschema-form icon indicating copy to clipboard operation
react-jsonschema-form copied to clipboard

Dropping bootstrap-4 support by renaming theme to react-bootstrap, using version 2

Open heath-freenome opened this issue 1 year ago • 4 comments

Prerequisites

What theme are you using?

bootstrap-4

Is your feature request related to a problem? Please describe.

Given that the bootstrap-4 theme is based on the react-bootstrap package and we are 1 major release behind we need to deal with both of those issues at the same time.

Describe the solution you'd like

We are planning to rename the theme in the next major release. At the same time, we will bump it to the react-bootstrap 2 version. This will be a breaking change

Describe alternatives you've considered

Provide a bootstrap-5 theme instead. We ruled this out because:

  1. It is 99% the same code
  2. Uses the same package name react-bootstrap
  3. Is inaccurately named
  4. Bootstrap "4" is no longer supported

heath-freenome avatar May 05 '23 15:05 heath-freenome

I have a problem when I install boostrap 4 for react-schema-form: image

import Form from '@rjsf/bootstrap-4';

Dannergal avatar Jun 07 '23 15:06 Dannergal

@Dannergal Have you installed @rjsf/utils, @rjsf/core and @rjsf/validator-ajv8?

heath-freenome avatar Jun 13 '23 17:06 heath-freenome

Hi thanks for your support, in this thread: #3729

Is necessary to Add in your documentation:

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';

Dannergal avatar Jun 13 '23 18:06 Dannergal

Hi,

any news? seems react-bootstrap now easily conflict with rjsf so can be good to integrate more recent versions

rmannibucau avatar Nov 18 '23 18:11 rmannibucau

Done in v6

nickgros avatar Apr 12 '24 19:04 nickgros