Skip to content

Boostrap4 style error #3729

@Dannergal

Description

@Dannergal

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:

image

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/

image

Steps To Reproduce

  1. sudo yarn add react-bootstrap @rjsf/core
  2. sudo yarn add @rjsf/bootstrap-4
  3. import Form from '@rjsf/bootstrap-4';

Environment

- OS: MACos Ventura Version 13.4 (22F66)
- Node: v18.14.1
- NPM: 9.3.1
- yarn: 1.22.19
  "dependencies": {
    "@rjsf/bootstrap-4": "^5.8.1",
    "@rjsf/core": "^5.8.1",
    "@rjsf/utils": "^5.8.1",
    "@rjsf/validator-ajv8": "^5.7.2",
    "axios": "^1.4.0",
    "markdown-to-jsx": "^7.2.0",
    "react": "^18.2.0",
    "react-bootstrap": "^2.7.4",
    "react-dom": "^18.2.0"

Anything else?

I have the same result with:
import Form from '@rjsf/bootstrap-4';
import Form from '@rjsf/core';

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions