You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this playground link, see that there are two choices. The oneOf renders a selector that is preselected with the first choice. The data uses a schema that matches the second choice.
[Description of the bug or feature]
I would have expected the rendered form to have detected the second schema in the oneOf matches the data and therefore selected the second choice rather than the first.
Steps to Reproduce
Click the link above
Simply look at the UI and see it didn't do the correct behavior
Also, changing the selector to the correct schema does not actually make any of the validation errors around the oneOf go away.
Expected behavior
The choices selector will select the second choice since the data matches it
Actual behavior
The choices selector defaults to the first choice even though the data obviously contains the second choice
Version
whatever version is running on the playground
The text was updated successfully, but these errors were encountered:
Make a few changes helped to alleviate the validation issues mentioned in step 3. But having the selector for choice not properly selecting the schema that matches the data provided is still an issue (the main issue for me).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.
Prerequisites
Description
Using this playground link, see that there are two choices. The
oneOf
renders a selector that is preselected with the first choice. The data uses a schema that matches the second choice.[Description of the bug or feature]
I would have expected the rendered form to have detected the second schema in the oneOf matches the data and therefore selected the second choice rather than the first.
Steps to Reproduce
oneOf
go away.Expected behavior
The
choices
selector will select the second choice since the data matches itActual behavior
The
choices
selector defaults to the first choice even though the data obviously contains the second choiceVersion
whatever version is running on the playground
The text was updated successfully, but these errors were encountered: