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.

How to use TextField Value instantly?

Ehsan Nayernia
2 years ago Mar 08, 2021 2:14pm
Kaspar Scherrer
2 years ago Mar 11, 2021 8:38am

TextFields can have different ValueChangeModes, per default it is ValueChangeMode.ON_CHANGE. Try setting yours to EAGER with textfield.setValueChangeMode(ValueChangeMode.EAGER);