@props([ 'name', 'label', 'type' => 'text', 'value' => '', 'required' => false, 'step' => null, 'tooltip' => null, ])
merge([ 'class' => 'w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white' ]) }} @if($attributes->has('x-model')) x-model="{{ $attributes->get('x-model') }}" @endif > @if($tooltip)
{{ $tooltip }}
@endif @error($name)

{{ $message }}

@enderror