Closed
Description
After upgrading Laravel from 5.2.30 to .31 and next versions I have problem with these types of validations:
public function rules()
{
return [
'*.name' => 'required',
'*.slug' => 'required|alpha_dash'
];
}
I use this to validate for multiple languages: es.name, en.name, it.name, etc. But with the update the result is:
The _token.name field is required.
The _token.slug is required.
In my form i have:
{!! csrf_field() !!}
### And the inputs:
<input type="text" name="es[name]">
<input type="text" name="en[name]">
<input type="text" name="es[slug]">
<input type="text" name="en[slug]">
Metadata
Metadata
Assignees
Labels
No labels