@if (!empty($title ?? '')) @endif merge(['class' => 'w-full px-2 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-colors input-focus']) }} placeholder="{{ $placeholder ?? '' }}" type="{{ $type ?? 'text' }}" id='{{ $name ?? '' }}' @if ($defer ?? true) wire:model.defer='{{ $name ?? '' }}' @else wire:model='{{ $name ?? '' }}' @endif @if ($disable ?? false) disabled @endif {{-- accept type --}} @isset($capture) capture @endisset @isset($acceptType) accept="{{ $acceptType }}" @endisset /> @if (!empty($hint)) {{ $hint ?? '' }} @endif @error($name ?? '') {{ $message }} @enderror