ComboBox.setEmptySelectionAllowed(boolean);

In vaadin 8 i have used

ComboBox cb = new ComboBox();
cb.setEmptySelectionAllowed(false);

How can i make this in vaadin 12beta.

We really need a guide that provides details on the mapping of vaadin 8 options into their equivalent flow options.

Brett Sutton:
We really need a guide that provides details on the mapping of vaadin 8 options into their equivalent flow options.

Ditto!

Hi,

there’s some discussion (and a small sort-of workaround) on the matter in [this GitHub issue]
(https://github.com/vaadin/vaadin-combo-box-flow/issues/79). Short answer: there is no such functionality in Vaadin ComboBox, but Vaadin Select has it.

Best, Katri