mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Validation added required_if_accepted
(#5987)
Added translation for new validation [`required_if_accepted`](https://github.com/laravel/framework/pull/44035) rule
This commit is contained in:
parent
c1dc4199b8
commit
1bec4f82cf
@ -120,6 +120,7 @@ return [
|
||||
'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.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user