@props([
'label' => null,
'id' => null,
'name' => null,
'type' => 'text',
'autofocus' => false
])
@php $wireModel = $attributes->get('wire:model'); @endphp
@if($label)
@endif
whereStartsWith('wire:model') }} @focus-{{ $id }}.window="$el.focus()" id="{{ $id ?? '' }}" name="{{ $name ?? '' }}" type="{{ $type ?? '' }}" x-ref="input" @focus="focused()" @blur="blurred()" class="auth-component-input appearance-none flex w-full h-11 px-3.5 text-sm bg-white border rounded-md border-gray-300 ring-offset-background placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-zinc-800 disabled:cursor-not-allowed disabled:opacity-50 @error($wireModel) border-red-300 text-red-900 placeholder-red-300 focus:border-red-300 focus:ring-red @enderror" />
@error($wireModel)
{{ $message }}
@enderror