Add prohibited validation rule (#5569)

This commit is contained in:
Philo Hermans
2021-03-19 15:53:34 +01:00
committed by GitHub
parent 57ddc0ebbb
commit e464182760

View File

@@ -104,6 +104,7 @@ return [
'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_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_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'same' => 'The :attribute and :other must match.',