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 OneOf is causing multiple validation errors, not just for the form which is actually viewing.
Use this test demo link. Select eg. Kafka from the select box, fill the form and Click on Submit. You will see multiple errors from multiple forms.
Expected Behavior
No validation error for all options.
Steps To Reproduce
Use the demo link mentioned above.
Environment
- OS: All
- Node: 16
- npm:?
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This matches more than one of your schemas in the oneOf, which causes it to fail. I recommend either using anyOf instead of oneOf, or adding a discriminator property that has a unique value for each oneOf schema.
Prerequisites
What theme are you using?
mui
Version
5.x
Current Behavior
Using OneOf is causing multiple validation errors, not just for the form which is actually viewing.
Use this test demo link. Select eg. Kafka from the select box, fill the form and Click on Submit. You will see multiple errors from multiple forms.
Expected Behavior
No validation error for all options.
Steps To Reproduce
Use the demo link mentioned above.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: