Skip to content

Implement standard HasLabel interface #100

Description

@mperktold

There is a common interface com.vaadin.flow.component.HasLabel, which is now implemented by all major flow components.

See vaadin/flow#3241 and vaadin/flow-components#956.

The interface is compatible with the signatures of getLabel and setLabel. It's just a matter of declaring that MultiselectComboBox implements HasLabel.

It might even be possible to delete the current implementation, since HasLabel already defines default methods which are mostly equivalent. The only difference is that MultiselectComboBox .setLabel replaces null with an empty string, whereas HasLabel doesn't.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions