The login button Stays Disabled

Hey guys, I’m new to Vaadin. I’ve implemented a login page, but after entering the wrong password, I’m unable to re-enter the password and click the button. The login button stays disabled. What am I doing wrong here?

Did you see an error message or did the login button stays just disabled after clicking it? If it’s the second: sounds like you misconfigured something and the login request was never answered by the server, resulting in a waiting client

I did not see any error messages. So I misconfigured something.

I found the issue. I “accidently” added @PreserveOnRefresh in the LoginView class.