Hi,
I'm trying to display a text on MB View depending on the checkbox list value with Twig.
For example, let's say I've created a checkbox list with choices A, B, C and D. Choices A and D are ticked in the post. I want to display the text if the checkbox list contains A.
I tried the code below in views, however it's not working.
{% if post.checkbox_list_id contains 'A' %} diplay something {% endif %}
Any advice on how to proceed. Sorry, I'm new at this.
Thanks in advance.