[vaadin 23] combo-box supports lazy loading by default ?


If not. How to enable lazy loading for combo-box ?

It’s lazy loaded by default

On the client side. On the server side, it depends if you are filling a list or if you’re using a lazydataprovider

if i provide data List as:

ComboBox<Country> comboBox = new ComboBox<>("Country"); comboBox.setItems(CountriesList); comboBox.setItemLabelGenerator(Country::getName); add(comboBox);
then it will load all at a time ?

Server yes
Client no

how to implement lazy load in server side. which Interface i need to implement ?