Hide FieldSet if it's fields are hidden

Hello,

is there way to hide a whole FieldSet if the fields inside are hidden?

Best,
Martin

Hi @martin.palma,

Unfortunately, you can’t hide a fieldset altogether, but you can set it to collapsed initially. This is a limitation of our plugin SDK, where individual fields can be hidden via a plugin, but the plugin cannot control fieldsets. Sorry about that!

I see. Do you think such feature will be implemented in future releases of the plugin SDK?

Hey @martin.palma we don’t have this planned at the moment, I’ve turned this into a feature request so we can consider this in the future :slight_smile:

1 Like

This would also be a useful feature for our use cases. We are building out the cms to change the content that can be added is dynamic based on a selection field. I would love to wrap all fields of that conditional section in a fieldset to give clarity/context to the user and not leave an empty box behind if the fields inside are hidden.