2022-03-05 16:29:58 +01:00
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-prepend"><span class="input-group-text">{{$title}}</span></div>
|
|
|
|
<input type="text" name="{{$name}}" class="form-control" minlength="{{$min ?? 0}}" maxlength="{{$max ?? 99999}}"
|
2022-10-31 04:41:26 +01:00
|
|
|
value="{{$value ?? ''}}" @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif {{(isset($required))? 'required': ''}}>
|
|
|
|
@error((string)$name)<span class="text-red-500">{{ $message }}</span>@enderror
|
2022-03-05 16:29:58 +01:00
|
|
|
</div>
|