Skip to content

Commit

Permalink
[4.x] Add accepted_if validation rule (#9557)
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort authored Feb 21, 2024
1 parent 1f31074 commit 78d8f4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/js/components/field-validation/Rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ export default [
label: 'Accepted',
value: 'accepted'
},
{
label: 'Accepted If',
value: 'accepted_if:',
example: 'accepted_if:anotherfield,value,...'
},
{
label: 'Active URL',
value: 'active_url'
Expand Down

0 comments on commit 78d8f4b

Please sign in to comment.