@props([ 'label' => null, 'id' => null, 'name' => null, 'type' => 'text', 'description' => '' ]) @php $wireModel = $attributes->get('wire:model'); @endphp
@if($label) @endif @if($description ?? false)

{{ $description ?? '' }}

@endif
merge(['class' => 'appearance-none flex w-full h-10 px-3 py-2 text-sm bg-white border rounded-md border-gray-300 ring-offset-background placeholder:text-gray-500 dark:placeholder:text-gray-400 focus:border-gray-300 dark:focus:border-gray-700 focus:outline-none focus:ring-2 focus:ring-gray-200/80 disabled:cursor-not-allowed disabled:opacity-50']) }} {{ $attributes->whereStartsWith('wire:model') }} id="{{ $id ?? '' }}" name="{{ $name ?? '' }}" type="{{ $type ?? '' }}" required autofocus />
@error($wireModel)

{{ $message }}

@enderror