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.
Hello guys. Is there any chance to add an attribute to the elements ? I am using vaadin 8.7.2 latest. Any idea ?
There's an add-on for that purpose: https://vaadin.com/directory/component/htmlattributehandler
It's marked for Vaadin 7, but works for 8 as well as-is.
Label label = new Label("Vaddin");
ComponentAttributeHandler cah = new ComponentAttributeHandler();