@props([ 'id' => null, 'name', 'label' => ucfirst($name), 'type' => 'text', 'value' => old($name), 'required' => false, ]) @php $id = $id ?? $name; @endphp
merge(['class' => 'form-input w-full mt-1 rounded border-gray-300 shadow-sm']) }} > @error($name) {{ $message }} @enderror