Hiding Bard sets from output has no effect #4887
Unanswered
brighttank
asked this question in
Troubleshooting
Replies: 2 comments
-
I'm on 3.2.25 and it's working fine here. Both in Live preview and on the site. I've done it exactly like you 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are you using any caching? Have you cleared the cache? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I add Sets to a Bard field there is a toggle option to toggle between "Included in output" and "Hidden in output". However if I'm rendering using a template that renders each block based on the set type then this option has no effect.
In order to get the button to have effect I have to manually check for the attribute. This is further complicated by the fact that if the set is enabled then the attribute is removed. So I have to include an explicit test for falseness, eg.
{{ elseif type == "images" and enabled !== false }}
Is this a bug or am I doing something wrong?
I'm on version 3.2.24
Beta Was this translation helpful? Give feedback.
All reactions