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

Bug react-jsonschema-form-layout is outdated for the new react-jsonschema-form #30

Open
Dannergal opened this issue Jun 6, 2023 · 1 comment

Comments

@Dannergal
Copy link

image

ArrayField.js:614 Uncaught TypeError: Cannot read properties of undefined (reading 'object')
at node_modules/react-jsonschema-form/lib/components/fields/ArrayField.js (ArrayField.js:614:30)
at __require (chunk-AC2VUBZ6.js?v=53f7a059:11:50)
at node_modules/react-jsonschema-form/lib/components/fields/index.js (index.js:7:19)
at __require (chunk-AC2VUBZ6.js?v=53f7a059:11:50)
at node_modules/react-jsonschema-form/lib/utils.js (utils.js:101:11)
at __require (chunk-AC2VUBZ6.js?v=53f7a059:11:50)
at node_modules/react-jsonschema-form/lib/components/fields/ObjectField.js (ObjectField.js:15:14)
at __require (chunk-AC2VUBZ6.js?v=53f7a059:11:50)
at node_modules/react-jsonschema-form-layout/es/index.js (index.js:16:21)
at __require (chunk-AC2VUBZ6.js?v=53f7a059:11:50)

@Dannergal
Copy link
Author

@marsch I saw you're contributor, I researched the issue and the problem is: the library work with react-jsonschema-form v1.x, I use react-jsonschema-form v5.x, so , react search
import Form from "react-jsonschema-form";
and now the library is:
import Form from "@rjsf/core";

react-jsonschema-form-layout is outdated

@Dannergal Dannergal changed the title react-jsonschema-form-layout Public doesn't support Typescript Bug react-jsonschema-form-layout is outdated for the new react-jsonschema-form Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant