react-jsonschema-form icon indicating copy to clipboard operation
react-jsonschema-form copied to clipboard

Dependencies based on boolean is not working as expected

Open benjaminbours opened this issue 3 years ago • 6 comments

Prerequisites

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

ezgif com-gif-maker (1)

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.

benjaminbours avatar Sep 25 '21 15:09 benjaminbours