Skip to content

Commit

Permalink
Validation added required_if_accepted
Browse files Browse the repository at this point in the history
Added translation for new validation [`required_if_accepted`](laravel/framework#44035) rule
  • Loading branch information
luisprmat authored Sep 15, 2022
1 parent c1dc419 commit d2bc9d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lang/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
Expand Down

0 comments on commit d2bc9d0

Please sign in to comment.