@props([ 'id' => '', 'name' => '', 'label' => null, 'type' => 'text', 'value' => '', 'required' => false, 'tooltip' => null, ]) @if ($label) {{ $label }} @if($tooltip) @endif @if($required)*@endif @endif merge(['class' => 'form-control']) }}> @error($name) {{ $message }} @enderror