how to remove key from error messages in validator in laravel response code example
Example: how to add an custom error to validater error in laravel
if (request('event') == null) {
$validator->errors()->add('event', 'Please select an event');
}