-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
any-one-all-ofRelated to fixing anyOf, oneOf or allOfRelated to fixing anyOf, oneOf or allOfbugdefaults
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
core
Version
5.x
Current Behavior
When using oneOf
in schema with default value you need to select oneOf option twice to actually do the change.
First click removes default value, and second does switch:
Screen.Recording.2023-11-27.at.16.09.44.mov
Expected Behavior
Switch should happen after first click
Steps To Reproduce
See playground.
Environment
- OS: MacOS, Chrome
- Node: v20.2.0
- npm: 10.2.4
Anything else?
No response
Metadata
Metadata
Assignees
Labels
any-one-all-ofRelated to fixing anyOf, oneOf or allOfRelated to fixing anyOf, oneOf or allOfbugdefaults