I have a list of text field with five elements.

Element 1
Element 2
Element 3
Element 4
Element 5

I want to add a comparisson to test if Element 1 is present regardless of the others and I can't seem to be able to do so. I tried the dev version with the is one of operator added by #1319470: check for multiple selected options but as soon as I change the operator, I lose the allowed values list against a data selection and that makes no real sense.

Comments

hanoii’s picture

Component: Rules Core » Rules Engine

I now noticed this can be done with: "List contains item" condition, I wonder, however, if the 'is one of' should work as that? Thats what I would expect.

TR’s picture

Component: Rules Engine » Rules Core
Issue summary: View changes
Status: Active » Closed (duplicate)

This is the same as the much more recent issue #2281739: Data comparison of a list field using "is one of" operation does not evaluate correctly

However, I'm going to close this issue as a duplicate because that other one has a lot of discussion and a proposed patch. Work to solve this issue should take place in that thread.