-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
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
6.1.2
Current Behavior
Schema with an anyOf array with a nested object with type boolean doesn’t work properly. Selecting the boolean option in the anyOf field sets the anyOfField value to 1 instead of true in formData.
Expected Behavior
Selecting the boolean option in the anyOf Field should work and the anyOfField value should be a boolean (true/false).
Steps To Reproduce
- Click here to open the playground demo.
- Select the boolean option in the anyOf Field.
- Notice that you can’t select it and anyOfField formData becomes
1instead oftrue.
Environment
- OS:
- Node:
- npm:Anything else?
No response