I’m becoming a bigger fan day by day of your addon! I realized one drawback to the “normal” single-select combobox however - I like to display additional information for the items in the dropdown menu on mouseover and I realized the multiselectcombobox does not have a setRenderer functionality.
Do you know of a workaround for this with the multiselectcombobox, or is this a planned feature in the future perhaps? (I’m using the 2.4.1 version of the addon)
Example:
For a single-select combobox I could differentiate between the displays of the selected item, the items in the dropdown menu and the mouseover.
myNormalCombobox.setItemLabelGenerator(item -> item.getValue()); // display selected item as ...
myNormalCombobox.setRenderer(new ComponentRenderer<>(item -> {
Span span = new Span(item.getValue() + item.name()); // display in drop-down menu as ...
span.getElement().setProperty("title", item.getInformation()); // mouseover information
return span;
}));