react-jsonschema-form to generate a form itself
See original GitHub issuePrerequisites
- I have read the documentation;
- In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
- Ideally, I’m providing a sample JSFiddle or a shared playground link demonstrating the issue.
Description
Is there a schema that produces a form to generate another form JSON schema? Simmilar to issue #1276, however the owner of that issue vanished.
i.e. a meta jsonschema form that creates other jsonschema forms
Steps to Reproduce
make and run this app:
iconst Form = JSONSchemaForm.default;
const schema = {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://json-schema.org/draft-07/schema#",
"title": "Core schema meta-schema",
...
};
const uiSchema = {
description: {
"ui:widget": "textarea"
}
};
ReactDOM.render(<Form schema={schema} uiSchema={uiSchema}/>,
document.getElementById("main"));
https://jsfiddle.net/jsToby/u98aygc6/
Expected behavior
A form that allows the user to generate a fully valid JSONSchema which produces a form.
Actual behavior
Inputting the definition provided on http://json-schema.org creates the following error:
Core schema meta-schema
Unsupported field schema for field root: Unknown field type object,boolean.
Version
1.8.0
You can usually get this information in your package.json
or in the file URL if you’re using the unpkg one.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
<Form /> props - react-jsonschema-form documentation
This prop allows passing in custom errors that are augmented with the existing JSON Schema errors on the form; it can be used...
Read more >React JSON Schema Form - Medium
RJSF generates React form based on JSON schema. It will capture the data as a JSON object. It also provides tools like form...
Read more >Chris Cauley - React JSON Schema Form - YouTube
Do you find yourself writing the same form over and over again? RJSF allows you to define schema instead writing out the form...
Read more >React Json Schema Form - Val's Tech Blog
Behold, the React JSON Schema Form, or simply RJSF. Originally started and built as an Open Source project by the Mozilla team. Evolved...
Read more >How to Integrate “React JSON Schema Form” into a Redux ...
React JSON Schema form is a technology for building forms with React. It takes the approach of defining the form itself separate from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@GitToby we’re using my fork in production at ReadMe to generate dynamic forms from user’s OAS files. You can see this in action here: https://preview.readme.io/.
Would love to get it merged in so we don’t have to rely on my fork and so others can use it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.