Can you use an Icon on the TextField


Is it possible to use the Icons Vaadin provides on things like the TextField Component anymore? I see that you can add them to Buttons still but can’t find anything for some of the other Components like you could in Vaadin 8.

You may use textField.setPrefixComponent(icon).
In general, for other components, you can also use getElement() and add whatever you want.