Deprecated API

Contents

  • Terminally Deprecated Elements
    Element
    Description
    Use NativeLabel instead, 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. The Label component / <label> element is not meant for loose text in the page - it should only be coupled with another component by using the Label.setFor(Component) or by adding them to it with the HasComponents.add(Component...) method, for example if you use Input.
  • Deprecated Classes
    Class
    Description
    Use NativeLabel instead, 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. The Label component / <label> element is not meant for loose text in the page - it should only be coupled with another component by using the Label.setFor(Component) or by adding them to it with the HasComponents.add(Component...) method, for example if you use Input.