@props([ 'name', 'label' => null, 'value' => null, 'type' => 'text', 'help' => null, 'required' => false, 'placeholder' => null, ]) @php $id = $id ?? 'f_'.\Illuminate\Support\Str::slug(str_replace(['[', ']', '.'], '-', $name)); @endphp
@if ($label) @endif merge(['class' => 'form-input']) }} > @if ($help)

{{ $help }}

@endif @error($name)

{{ $message }}

@enderror