-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
No default value on nested field #1043
Comments
Ok if I handle onChange, update state, this rerender form and it works. |
hatstand
pushed a commit
to hatstand/react-jsonschema-form
that referenced
this issue
Nov 15, 2018
For dynamic dependencies, default properties were not being added. There are two cases that were affected: 1. A dynamic dependency should be resolved based on a default. 2. Defaults from nested dynamic dependencies should be resolved. Fixes rjsf-team#1043
9 tasks
3 tasks
@perusopersonale -- the jsfiddle you sent is no longer working at all |
Let me know if you have any other problems. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Description
I have a complex schema that is something like this:
When I use on Playground and select a type default values are correctly populated,
when I'm trying to use on my project default values are not shown.
Working example Playground
Test repo where default values are not shown:
https://jsfiddle.net/w1Lom0av/2
I'm not understanding why have different behavior.
Expected behavior
Default values shown. What I'm missing??
The text was updated successfully, but these errors were encountered: