You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
andsetLabel
. It's just a matter of declaring thatMultiselectComboBox 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 thatMultiselectComboBox .setLabel
replacesnull
with an empty string, whereasHasLabel
doesn't.The text was updated successfully, but these errors were encountered: