i-VRESSE / workflow-builder

Graphical interface to build a workflow file
https://i-vresse-workflow-builder.netlify.app/
Apache License 2.0
4 stars 2 forks source link

Checkbox in array invalid when unchecked #67

Closed sverhoeven closed 2 years ago

sverhoeven commented 2 years ago

In the refinement nodes like mdrefthere is the mol_shape parameter. This parameter is an array of booleans. Which is rendered by rjsf as list of checkboxes.

I am unable to submit a mol_shape array item which is unchecked. It gives an validation error. So I am unable to define that my second molecule should be treated as an shape, because I can not have the first array item (first molecule) unchecked. See screenshot below

localhost_3000_ (6)

bvreede commented 2 years ago

Keeping the box unticked does work when collapsing the molecule header: the warning no longer appears and the workflow can be submitted. Now, the config text contains mol_shape_1 = false.