Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Prevent browser from filling in stored username/password from LoginForm

Moritz Christian
5 years ago Nov 04, 2016 10:31am

Hi!

In my application I use the LoginForm. This works fine but in my application I have a few more username and password fields which all get automatically filled with those saved credentials from the login form. They are supposed to be empty but setting the value=null or "" doesn't help... I guess it's browser related but I was wondering if anybody knows how to prevent this behaviour in Vaadin? I tried changing the element attributes by using autocomplete="off" but it didn't work. Any other ideas?

Thanks in advance!

Moritz Christian
5 years ago Nov 11, 2016 12:42pm
Thilani Abeysinghege
4 years ago Jun 09, 2017 3:37am

Hi Moritz,
I' m encountering the same issue with Vaadin 8 in Google Chrome. I tried your suggestion.Unfortuanately it seems not working for me with Chrome. Do you have any clue, how to workaround with Chrome

Thanks in advance!

Moritz Christian
4 years ago Jun 26, 2017 11:34am
Peter Plonus
4 years ago Mar 12, 2018 1:37pm
Moritz Christian
4 years ago Mar 12, 2018 1:58pm
Lyn Wall
3 years ago Jan 03, 2019 9:54pm