@props([ 'name', 'id' => null, 'value' => '', 'required' => false, 'placeholder' => null, 'ignoreAutofill' => false, ]) @php $fieldId = $id ?? $name; @endphp {{-- Password input with a show/hide toggle. Toggle state lives in Alpine so it survives Livewire re-renders (jQuery-based .toggle-password handler used elsewhere fights morphdom on wire:model.live fields). Extra $attributes get merged onto the so wire:model, autocomplete, aria-* etc. flow through. --}}