inertiajs / inertia

Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
https://inertiajs.com
MIT License
6.53k stars 433 forks source link

Remembering forms triggers browser password remember #1676

Open mathieutu opened 1 year ago

mathieutu commented 1 year ago

Versions:

Describe the problem:

When remembering a form with a password inside, the browser triggers the "Do you want to remember the password" at each update. With Firefox it's OKish. With Safari, it's not usable at all.

2023-09-14 00 20 03 2023-09-14 00 30 25

Steps to reproduce:

<script>
  const form = useForm('test', {password:: ''})
 </script>
 <template>
    <input type="password" v-model="form.password" />
 </template>

It's working when not passing the remember key.

Thanks.

lnpbk commented 1 year ago

We've just run into this issue on a React build also. Have you found a workaround or anything @mathieutu ?

mathieutu commented 1 year ago

Nope. Not at all. I just stopped remembering forms 😞

vitalijalbu commented 10 months ago

Nope. Not at all. I just stopped remembering forms 😞

maybe autocomplete="off" is the solution

schniper commented 7 months ago

+1. Autocomplete doesn't help. Save password popup keeps appearing after each character typed, with a username (email) value I typed tens of refreshes ago.