Hello.
Thank you very much for the component. It is very helpful.
May I ask you to explain me one thing related with the component?
I used it with vaadin 7 and everything worked very well.
Now I switched to vaadin 8 and started to use version 2.7 of the component. In previous version there was possibility to select item into combobox via clicking to item’s checkbox directly. There was property to enable/disable it:
E.g.: comboMultiSelect.setCheckboxEnabled(true); to enable.
In version 2.7 of the component this property was removed and checkboxes disabled by default. Is there way to make them enabled via code or css?
Well, as I did not get any response I checked source code and found possible reason:
Into VComboBoxMultiselect class there is ComboBoxMultiselectSuggestion subclass to represent pop-up menu.
Into its constructor there are lines of code:
…
private final VCheckBox checkBox;
…
this.checkBox = new VCheckBox();
this.checkBox.setEnabled(false);
State.HIDDEN.set(getCheckBoxElement(), true);
…
It seems checkboxes where disabled by default and there are no possible ways to make them enabled back (as it was in version for Vaadin 7). Why it so? It is not so good from point of user experience, as user always try to click to checkbox first (and it does not work).
Is there way to reach ComboBoxMultiselectSuggestion instance from ComboBoxMultiselect instance (unfortunatelly I did not found that)?