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 - sending multiple requests

Nazar Medeiros
5 years ago Nov 03, 2016 2:25pm
Olli Tietäväinen
5 years ago Nov 03, 2016 2:30pm
Alain HIRSCH
5 years ago Nov 03, 2016 3:16pm
Nazar Medeiros
5 years ago Nov 04, 2016 9:26am
Olli Tietäväinen
5 years ago Nov 04, 2016 9:35am

You're using firstName.getValue(), but the value of the field is not yet updated in the TextChangeListener. Instead, you'll want to get the String from event.getText(). Once the value of the field is fully validated and changed, you'll get a ValueChangeEvent, but that won't happen after each keypress.

-Olli

Nazar Medeiros
5 years ago Nov 04, 2016 9:45am
Olli Tietäväinen
5 years ago Nov 04, 2016 10:34am