I’m having an issue that I haven’t been managing to solve all day now. I’m trying to show a field conditionally, based on wether the multiselect field
my_multiselect contains a specific word. So if my multiselect field contains the tag “ExampleSelection” I want to show a field.
when: option doesn’t work with fields that can contain multiple values, I’m thinking of using the
disabled: option. I would need a sort of query that gets the value of my_multiselect and checks it against a hardcoded string. My pseudcode looks something like this:
disabled: ! page.my_multiselect.contains("ExampleSelection")
I know this is incorrect code, but I can’t really figure out how to do this. Does anyone have a suggestion?