Entry Condition - Entries Field "is related to" Additions #13066
Unanswered
kylecotter
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
#12679 was great for allowing us to pass in an ID to control the visibility of a field based on a relation.
Would love an option for "is not related to [id]" as well.
Would also like to be able to pass an array of IDs instead of just a singular one.
e.g.
Field A (Entry Field)
Field B (Plain Text)
"Only show Field B if Field A is not related to 123"
"Only show Field B if Field A's relations are in [123, 456, 789]"
I tried some trickery with
{ fieldA.one().id in [123, 456, 789] ? fieldA.one().id : null }as the Twig to pass the ID, but to no avail.All reactions