I’m having trouble getting Livewire models to play nice with password managers that auto-fill both username and password.
The password managers fill out both username and password as expected. But there’s something about the timing or simulated events that cause Livewire to clear them out immediately after.
Depending on the browser/password manager combo, Livewire submits one or both fields with a null value as soon as the password manager pastes the data into the fields. The null fields then of course come back empty and get cleared on the screen.
Using wire:model.lazy resolved this for my desktop browsers (Firefox and Chrome with Bitwarden), but still left things broken for Safari on iPhone/iPad.
I ended up using this work-around for now: https://github.com/livewire/livewire/issues/313#issuecomment-542153237
While this work-around works fine, it eliminates most of the Livewire advantages, so I’m hoping for a different solution.
Has anyone else created a login form with Livewire?