How to add more attribute to the generated html tags

Vaadin could generate the html tags automatically. but I am wondering how to add more attribute to the generated tags.

for example, the following are tags generated by Vaadin engine for TextField.

How to add more attribute to it by Java?

There’s no server-side Java API for that; you’ll need to do it on the client side. Depending a bit on the specifics, it could be doable in a simple Extension: https://vaadin.com/docs/v8/framework/gwt/gwt-extension.html

-Olli