Add prohibited validation rule (#5569)
This commit is contained in:
@@ -104,6 +104,7 @@ return [
|
|||||||
'required_with_all' => 'The :attribute field is required when :values are present.',
|
'required_with_all' => 'The :attribute field is required when :values are present.',
|
||||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||||
|
'prohibited' => 'The :attribute field is prohibited.',
|
||||||
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
|
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
|
||||||
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
|
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
|
||||||
'same' => 'The :attribute and :other must match.',
|
'same' => 'The :attribute and :other must match.',
|
||||||
|
|||||||
Reference in New Issue
Block a user