react-jsonschema-form
react-jsonschema-form copied to clipboard
Dependencies based on boolean is not working as expected
Prerequisites
- [x] I have read the documentation;
- [x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
- [x] Ideally, I'm providing a sample JSFiddle or a shared playground link demonstrating the issue.
Description
[Description of the bug or feature]
Property dependencies when using a checkbox / boolean is not working as expected. When it has never been checked, the behavior is ok, but when you uncheck it, the field is still required.
Related to #795
Steps to Reproduce
Expected behavior
I expect the field not to be required anymore when I uncheck the checkox.
Actual behavior
The field is still required after I unchecked the checkbox.
Version
Last version. Or the current online demo version.