Skip to content

Allow configuring multiple conditions for the same field #1101

Description

@duncanmcclean

Currently, you can only configure one condition for the same field in the blueprint/fieldset builder.

For example: if you configure two conditions like this on the same field, only one of them will actually be saved in the blueprint:

CleanShot 2023-12-13 at 12 32 16

if:
  title: 'equals bar'

It would be nice if you could configure multiple conditions for a single field. Possibly with options whether the conditions should be AND (must be both foo and bar) / OR (must be either foo or bar).

Related: statamic/cms#6008

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions