Ability to programmatically set the hidden field of any component

Hi there!

I looked into this internally. It looks like we added .setHidden for all of our newer components, but some of the components that have not been recently updated still don't have .setHidden. This at least includes: JSON Editor, JSON Explorer, Button Group, Alert, Cascader, Checkbox Tree, and Rich Text Editor. You can check the components page under Methods to confirm whether a component is compatible, or you can see if the method comes up in auto-complete in the JS query editor. We have a feature request on file to go back and add it to all components. I'll post here when that request is completed.

In the meantime, here's another workaround if you don't want to use containers!

1 Like