displaying errors in laravel form inputs 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