json-forms icon indicating copy to clipboard operation
json-forms copied to clipboard

Recursive definitions not supported

Open stringfellow opened this issue 7 years ago • 6 comments

The JSON schema spec allows for self-referential schemas with $ref - at the moment this causes an error. See fiddle here: https://jsfiddle.net/4gk0bv2z/

stringfellow avatar Jul 18 '17 10:07 stringfellow

hi did you solve this problem?

OYE93 avatar Nov 02 '18 09:11 OYE93

No unfortunately.. I switched to react-jsonschema-form by mozilla.. seems to be very well supported

stringfellow avatar Nov 02 '18 09:11 stringfellow

hah, ok, thanks for your reply, I think I should also switch to react-jsonschema-form, it seems more reliable. could you give me an example about array $ref in react-jsonschema-form that you switch from this json-forms, many thanks!! :)

OYE93 avatar Nov 02 '18 10:11 OYE93

Hi @stringfellow another question, did react-jsonschema-form can complete dynamic selection like http://brutusin.org/json-forms/ this page shows, thanks a lot!! :)

OYE93 avatar Nov 02 '18 10:11 OYE93

@OYE93 react-jsonschema-form supports a limited version of dynamic schemas, see https://react-jsonschema-form.readthedocs.io/en/latest/dependencies/#dynamic

epicfaace avatar Mar 16 '19 21:03 epicfaace

@epicfaace thanks, I'll try it, hope it could be helpful.

OYE93 avatar Mar 18 '19 02:03 OYE93