-
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
Nested dependencies not updated correctly #3450
Comments
@sunkeysun We don't have great support for if/then/else in allOf. It is definitely a bug in how we populate form data. Are you willing to try to create a fix? |
@heath-freenome I can take care of the bug, if nobody working on the issue. |
@sarpere That would be great! |
any updates? |
any updates? |
@sunkeysun I am awaiting a PR from @sarpere |
@heath-freenome I could not have a time to fix it. if someone can to fix it, It would be better. |
@heath-freenome Any updates? I can work on it |
@mahendra790 Nothing has happened, so please do feel free to work on a fix |
|
@heath-freenome There are multiple problems I am facing with
If I call sanitizeFormData on schema changes then 1 and 2 works fine if we have defaults set for fields otherwise if there is common field incorrect value is not cleared https://github.com/mahendra790/react-jsonschema-form/pull/1/files I am using this syntax in one of my project and need to get this fixed, can you please guide me how we should approach this problem, may be if we can jump on a call it would be very helpful. I am ready to fix this |
@heath-freenome can you please check once? |
@mahendra790 Sorry, I missed your request for a call. I am free March 8th from 3-5pm Pacific Time. If that works, we can jump on discord. |
@heath-freenome sorry, I was busy in some work, can we connect in this week? |
@mahendra790 You are welcome to join the weekly meeting as well. We have the next one tomorrow at 3pm Eastern and noon Pacific |
@heath-freenome how can I get the link for the meeting? |
It's in the pinned issue on the top of the issues page |
Prerequisites
What theme are you using?
core
What is your question?
Playground
https://codesandbox.io/s/black-forest-bgkbeo?file=/src/App.js
As example, conditinal schema property value not update as expected.
when "animal" change to "Cat", "food" should be "meat".
schema.json
The text was updated successfully, but these errors were encountered: