-
Notifications
You must be signed in to change notification settings - Fork 182
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
Problems with nested requirements #15
Comments
Sorry for the late reply, can you make a repository or give the JSON schema to reproduce this issue? |
The default behavior should be that I do not get any errors about 'y', as I can skip whole 'x' object (unless I chose to USE it), as IT is not required. Ideally not required objects/whatever should be Hidden by default, and addable visa some checkbox. If you check https://json-editor.github.io/json-editor/ -> Location -> Properties, u will see the idea. |
Still looking at this problem but I'm not sure what causes it! |
@hamzahamidi I think ppl just haven't tough about this scenario? |
Any update on this issue ? |
Stale issue |
Issue type
I'm submitting a (check one):
[ x] Bug report
[x ] Feature request
[ ] Regression (something that used to work, but stopped working in a newer version)
[ ] Support request
[ ] Documentation issue or request
Prerequisites
Before posting, make sure you do the following (check all):
[x ] Confirm you are using the latest versions of all necessary packages (or if not, explain why not)
Current behavior
When you have parent property, that isn't required, but has self required properties, it gives an error. I don't know how to solve this. https://json-editor.github.io/json-editor/ fro example, has optional objects as initially non listed and addable. So when you add the object, it's properties are required, but can also skip the whole object, as it is optional.
The text was updated successfully, but these errors were encountered: