Hessel
Hessel

Hi , in my component {% if record.specialisme == ["option1"] %} works if only "option1" is selected in the backend multisect checkbox list however the if else statement is not working if I select: "option1 and option 2" cause that would be stored as ["option1","option2"]

so my important question is, how can I filter option1 from the array wilt multiple options? please let me know.

Last updated

Hessel
Hessel

I found the solution: {% if "option1" in record.specialisme %}

1-2 of 2