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

oneOf is not supported #538

Closed
arrkaye opened this issue Apr 5, 2017 · 1 comment
Closed

oneOf is not supported #538

arrkaye opened this issue Apr 5, 2017 · 1 comment

Comments

@arrkaye
Copy link

arrkaye commented Apr 5, 2017

I have a schema that accepts either an array of object or a list from an enum.

I'd like it to render as two radio buttons, "Can Complete" and "Can't Complete". Depending on which is selected, I'd like to hide/show different subforms to allow the user to enter the data. Is this possible ?

My draft4 JSON schema achieves this by using "oneOf", but this isn't supported in this rjsf.

@n1k0
Copy link
Collaborator

n1k0 commented Apr 5, 2017

Duplicate of #52.

An implementation attempt for oneOf has started in #302 but progress hasn't been made since a long time unfortunately. You may want to take over this effort.

@n1k0 n1k0 closed this as completed Apr 5, 2017
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