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

Custom array item schema #561

Closed
1 task done
ssh000 opened this issue Apr 26, 2017 · 1 comment
Closed
1 task done

Custom array item schema #561

ssh000 opened this issue Apr 26, 2017 · 1 comment

Comments

@ssh000
Copy link

ssh000 commented Apr 26, 2017

Prerequisites

Description

Hello!
I need help in a couple of questions.
There is an array of the objects with type property. Is there a way to change array item schema depending on the object type?

Steps to Reproduce

Example

Version

react-jsonschema-form@0.47.0

@glasserc
Copy link
Contributor

Hi, and thanks for your interest! At present, we don't support anyOf, which IMHO is the cleanest way to represent that. We're tracking it in #52 in case you would like to contribute a patch!

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

2 participants