Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
hanoiiI 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.
Comment #2
TR CreditAttribution: TR commentedThis 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.