Why won't error message display with the code below?
I can see the error message in page source code though.
@if($errors->has('slug'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('slug')}}</strong>
</span>
@endif
However this works:
@if($errors->has('slug'))
<p>{{ $errors->first('slug')}}</p>
@endif
class="invalid-feedback"have some logic to only show up in some cases? Check yourcssorjsfor that class.