-
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
anyOf form data does not update rendered form #3705
Comments
Could be the same problem as #3693 |
Definitely related, good to mention this thanks @tjbugh. My case would be more general though, so it does not matter if its within an array or not. |
@spflueger I provided a possible fix in the other issue. If you feel adventurous give it a try and let us know if it works! |
@heath-freenome sweet! Will do (probably beginning of next week) |
@heath-freenome I just gave it a try and it looks like the fix from @cwendtxealth solves this issue as well 👍, thanks! What are the plans for a new release? |
@spflueger it is out now. If this is working for you, can you close this issue? |
The newest release solves this issue, thanks again @cwendtxealth @heath-freenome ! |
Prerequisites
What theme are you using?
core
What is your question?
I found inconsistent behavior of the
anyOf
field rendering, based on the specified form data. The issue is changing the form data from one anyOf branch to the other does not always seem to update and render the form correctly.Steps to reproduce: In the playground anyOf example, enter "idCode": "1234" in the form data. Then the form should render the second branch. Then clear the form data and enter "firstName": "asdf", and this the second branch of the form is rendered, but I'm expecting to see the first branch.
The text was updated successfully, but these errors were encountered: