try this
@if($errors->has())
@foreach ($errors->all() as $error)
{{$error}}
@endforeach
@endif
aasthemes said:
try this
@if($errors->has()) @foreach ($errors->all() as $error) {{$error}} @endforeach @endif
After testing this, '$error', will not display anything still. Minor edit, just change '$error' to what you had it originally: $error->first('name')
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community