I'm trying to set a collapsible container's showBody component to false (aka hide the body) when a select field is labeled No, and set it as true (aka show the body) when a select field is labeled Yes.
However, when I try to set it as false, I get an error in the console saying that showBody needs to be a boolean.
Since I do see the console.error log, I do know that the function is triggering.
But the default checkbox functionality for showBody isn't working when it's false it looks like.