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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Format value in textfield when typing
How can I format my text value when my user are typing ? I need to format one currency textfield, and anothers types like date, and CPF(Brazil document) 222.222.222-22
tks
Fabio Ebner: How can I format my text value when my user are typing ? I need to format one currency textfield, and anothers types like date, and CPF(Brazil document) 222.222.222-22
tks
nenhuma resposta fabio...rs
If you are using Binder and TextField in an form, you could use Converter, as it now works in this uses case, thanks to this change https://github.com/vaadin/framework/pull/12132
See also discussion here: https://vaadin.com/forum/thread/15931682
Tatu Lund: If you are using Binder and TextField in an form, you could use Converter, as it now works in this uses case, thanks to this change https://github.com/vaadin/framework/pull/12132
See also discussion here: https://vaadin.com/forum/thread/15931682
Hi armadillo, take a look at my case, see if this solution also applies in my case https://vaadin.com/forum/thread/18503943/customize-textfields
Tatu Lund: If you are using Binder and TextField in an form, you could use Converter, as it now works in this uses case, thanks to this change https://github.com/vaadin/framework/pull/12132
See also discussion here: https://vaadin.com/forum/thread/15931682
Como seria o codigo?