-
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. This component was deprecated because it was confusing users of earlier Vaadin Versions and users migrating from Swing to the modern Vaadin Flow Framework. TheLabelcomponent /<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. This component was deprecated because it was confusing users of earlier Vaadin Versions and users migrating from Swing to the modern Vaadin Flow Framework. TheLabelcomponent /<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.