Skip to content

Document how conditions treat empty and null values - #2001

Open
joshdaugherty wants to merge 1 commit into
statamic:6.xfrom
joshdaugherty:docs/empty-null-condition-values
Open

joshdaugherty wants to merge 1 commit into
statamic:6.xfrom
joshdaugherty:docs/empty-null-condition-values

Conversation

@joshdaugherty

Copy link
Copy Markdown

Closes #2000.

Adds a note under Using a variable reference on the conditions page:

  • an empty-string condition value skips the condition, and
  • a variable reference that resolves to null filters for entries where that field is empty.

The measurements behind it are in #2000.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document how conditions treat empty and null values

1 participant