pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

add "contains" support to the conditional logic for field display when the related field is a relationship array field #7354

Open LauraSuzy opened 2 weeks ago

LauraSuzy commented 2 weeks ago

Problem to Solve

It would be nice to offer a 'contains' check for checkbox relationship fields on the conditional display logic settings for pods fields. Pods currently has 'contains' support when looking at a text field, but no built-in way to check the values of, for example, checkbox options in a relationship field.

Proposed Solution

Add javascript support to check relationship field arrays for an exact value match or even search each string value in the relationship array.

Possible Workaround

No response

Examples Elsewhere

No response

Screenshots / Screencast

No response