mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
[8.x] Add accepted_if validation rule (#5658)
* Add accepted_if validation rule * Update validation.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
parent
82b5135652
commit
e5962266d7
@ -14,6 +14,7 @@ return [
|
||||
*/
|
||||
|
||||
'accepted' => 'The :attribute must be accepted.',
|
||||
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
|
||||
'active_url' => 'The :attribute is not a valid URL.',
|
||||
'after' => 'The :attribute must be a date after :date.',
|
||||
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user