bhch / react-json-form

JSON editing made easy using form inputs.
https://bhch.github.io/react-json-form/
BSD 3-Clause "New" or "Revised" License
91 stars 9 forks source link

Validation failure on schema with "oneOf" or "anyOf" #99

Closed captain828 closed 1 month ago

captain828 commented 1 month ago

Steps to reproduce:

  1. copy the schema from https://bhch.github.io/react-json-form/playground/#20-oneof (or from the anyOf example)
  2. paste the schema into https://bhch.github.io/react-json-form/playground/#18-validation
  3. click Submit

Current result:

Unsupported type "undefined" for object properties (keys).

Expected result: The object should either be correctly validated against the schema or not give an unexpected error.

captain828 commented 1 month ago

Awesome! ❤️

When do you think this will be released? Also, when do you this will be merged with django-jsonform?

bhch commented 1 month ago

I'll try to get it out today.