input error in laravel code example
Example: displaying laravel error in below input field
@error('field-name')
<div class="alert alert-danger">{{ $message }}</div>
@enderror
@error('field-name')
<div class="alert alert-danger">{{ $message }}</div>
@enderror