rjsf-team / react-jsonschema-form

A React component for building Web forms from JSON Schema.

Home Page:https://rjsf-team.github.io/react-jsonschema-form/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any chances to get support for oneOf?

harshal123 opened this issue · comments

Is there any chances to get support for oneOf?

I'm sorry, what's the question precisely? We have a checkbox widget already.

Hi Nicholas,

Thanks for getting back quickly.

json-schema supports four keywords *anyOf, allOf, oneOf, not * intend to
bring logical processing primitives to JSON Schema validation.

They would allow to get rid of:

  • schemas in type;
  • the disallow keyword;
  • the extends keyword.

Here are the complete details.
https://github.com/json-schema/json-schema/wiki/anyOf,-allOf,-oneOf,-not

I am working on json-schema which has oneOf functionality simple checkbox
can't be enough i guess.

Can you help me in this?

On Tue, May 10, 2016 at 6:56 PM, Nicolas Perriault <notifications@github.com

wrote:

I'm sorry, what's the question precisely? We have a checkbox widget
already.


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#200 (comment)

Lol, for some reason I read on/off and not oneOf, I must be tired :D

We already have an issue filed about this in #52, so i'll close this as it's a duplicate.

Side note, bringing support for this is not in our current priorities, but we do certainly accept patches ;)