Hello, I am trying to validate the fields of the form that I created with the validate function of laravel, I pass valid data to it and it does not validate.
$request->validate([
'player' => 'alpha_dash',
'spec.*' => 'integer|distinct|min:2',
'realm' => 'alpha_dash',
'faction' => 'alpha',
]);
It's strange because the player field validates me but realm and faction do not. I am introducing values such as Alliance, Horde, Both a faction or Kingdom names with alpha to realm characters.