Skip to content

Commit

Permalink
Update validation rule
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed May 21, 2024
1 parent 9559d5e commit a23b381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/blueprints/collections/pages/page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ sections:
display: Slug
validate:
- required
- 'unique_entry_value:{collection},{id},{site}'
- 'new \Statamic\Rules\UniqueEntryValue({collection},{id},{site})'
-
handle: parent
field:
Expand All @@ -45,4 +45,4 @@ sections:
- pages
max_items: 1
listable: false
localizable: true
localizable: true

0 comments on commit a23b381

Please sign in to comment.