-
Terminally Deprecated Elements
-
Deprecated ClassesClassDescriptionUse
NativeLabelinstead, if you need the HTML<label>element, which is normally not needed within a Vaadin Flow application's high-level components. To use a Label that works in the older style of Vaadin 8 or Java Swing, and can be used both to label a component and to display loose text, an alternative is the Label available in Classic Components. ThisLabelcomponent /<label>element is not meant for loose text in the page - it should only be coupled with another component by using theLabel.setFor(Component)or by adding them to it with theHasComponents.add(Component...)method, for example if you useInput.
NativeLabelinstead, if you need the HTML<label>element, which is normally not needed within a Vaadin Flow application's high-level components. To use a Label that works in the older style of Vaadin 8 or Java Swing, and can be used both to label a component and to display loose text, an alternative is the Label available in Classic Components. ThisLabelcomponent /<label>element is not meant for loose text in the page - it should only be coupled with another component by using theLabel.setFor(Component)or by adding them to it with theHasComponents.add(Component...)method, for example if you useInput.