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.

Weirdest TextField Issue.

Dylan Janeke
5 years ago Sep 19, 2016 10:07am
Alejandro Duarte
5 years ago Sep 21, 2016 6:59am
Dylan Janeke
5 years ago Nov 23, 2016 3:50pm

Hi Alejandro,

Thanks for replying - and sorry for saying "Thanks" 2 months later! I feel terrible.
There was a listener which was nulling out the text for some reason, i.e. imagine something rogue like this:

textField.addTextChangeListener(event -> textField.setText(""));

In most cases if the network is fast, it's not noticeable - but when it slows down it looks like it's backspacing your text. Very odd we had that in our codebase.

Anyway - thanks for the help again mate!