mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
[8.x] Added prohibits
validation message (#5681)
* Added `prohibits` validation * Update validation.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
parent
a36f02c4f2
commit
0bc525860c
@ -109,6 +109,7 @@ return [
|
||||
'prohibited' => 'The :attribute field is prohibited.',
|
||||
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
|
||||
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
|
||||
'prohibits' => 'The :attribute field prohibits :other from being present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user