Vaadin Flow Validation Error Disappears

Hi To All ,

i have a emailfield and i need to validate it mail adress with certain domain. i did what tutorial said.

.withValidator(new EmailValidator(
“This doesn’t look like a valid email address”))
email → email.endsWith(“”),
“Only email addresses are allowed”)
.bind(Person::getEmail, Person::setEmail);

My problem is error label actually says “Only email addresses are allowed” but only for a sec. and then it user may think he/she entered the right mail format but he/she doesnt. So …

how can i show that error label again ? i have no issue with EmailValidator it stays until u enter something like an email.

best regards to all