How to hide region when it's not populated

Created on 27 June 2023, almost 2 years ago
Updated 16 April 2024, about 1 year ago

Problem/Motivation

Hello I've got layout builder using section with 3regions.
One of this regions has field which can be empty or not. I would like to remove this regions when there is no content inside. For now I just have one div empty.
Maybe something like https://www.drupal.org/project/layout_builder_boolean β†’ but instead of switch on other field i want just to remove regions or switch on new sections with only 2 regions.

Or maybe there is something on conditonal field (like a checkbox) exist (the condition isn't on field is empty, but on the checboxe is checked)

πŸ’¬ Support request
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated about 23 hours ago

Created by

πŸ‡«πŸ‡·France musa.thomas France πŸ‡«πŸ‡·

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024