-
-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
Description
Subject of the issue
Remote validation will only validate the first item in an array.
Your environment
- version of this package: 4.0.0
- version of Laravel: 6.18.3
Steps to reproduce
<select name="domain">
<option value="http://google.com">http://google.com</option>
<option value="http://jquery_dev">http://jquery_dev</option>
</select>[
'domain' => [ 'required', 'array' ],
'domain.*' => ['url'],
];Expected behaviour
Should fail because jquery_dev is not valid - the url validation does not permit _ in URLs
Actual behaviour
Validation passes because it only validates domain.0