@props(['label', 'name' => null, 'value' => '', 'tag' => 'input']) @php $inputId = $attributes->get('id') ?? $name ?? Str::random(8); @endphp
@if($tag === 'textarea') @else merge(['class' => 'form-control'])->except('placeholder') }}> @endif