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.

Vaadin 8 + DataBinding

Mário Korčák
5 years ago Dec 30, 2016 7:24pm
Olli Tietäväinen
5 years ago Jan 03, 2017 6:59am
Mário Korčák
5 years ago Jan 04, 2017 5:00pm
Jean-Christophe Gueriaud
5 years ago Jan 18, 2017 12:16pm

Mário Korčák: Is there any way to disable "on fly typing + validate" event? 

 

nameTextField.setValueChangeMode(ValueChangeMode.BLUR);
will validate the textfield when the field loses focus.

See https://github.com/vaadin/framework/blob/master/shared/src/main/java/com/vaadin/shared/ui/ValueChangeMode.java

I think default value is LAZY (for TextField).
 

Mário Korčák
5 years ago Jan 18, 2017 12:17pm