So I am trying to build a web application and when designing the loginview I want it to show an error message when the user enters an invalid login or password. The issue is, that whenever the login fails, the page just reloads itself and there is no changes made. Page
I have written the following code to try and achieve my result but all that happens is my page just reloads and nothing else. What should happen is a popup message should appear informing the user of an invalid username or password. Code
I solved it like this with Vaadin 24 and Spring boot! The error message is added to the input field.
}
I hope it helps you