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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
setUppercase()
Hi,
Yes you can, but you need a custom theme for it.
Create a new theme for your app (extend Reindeer), add the following CSS there:
.v-textfield-uppercase {
text-transform: uppercase;
}
Then in your Java code use TextField.setStyleName("uppercase") to trigger the style.
Last updated on
You cannot reply to this thread.