Search code examples
vaadin8

ListSelect does not single select mode in vaadin 8, what is the replacement?


We have a vaadin 6 application that has a ListSelect which changes between single select and multiselect mode. Now we are converting to vaadin 8, the setMultiSelect method is not there any more. Seems that ListSelect is always multiselect mode in vaadin 8. Is that true? Any method to make ListSelect single selection?


Solution

  • The component you are looking for in Vaadin 8 is probably NativeSelect.