Select component initializes slowly when having about 4000 elements

Hello,
we are using com.vaadin.flow.component.select.Select component to display lists of elements.
One of the Select is pretty large has about 4000 elements and it takes about 4 sec to initialize.
Looked a bit inside the Select code an potential cause could be that setItems() is using ListDataProvider which fetches all data at the same time.
What could be done to speed this up?

Using the combo box for such large data sets

yes, we are migrating the app from gwt so initially want to have the same U I- we used List in gwt and we didn’t have problems so far

The combobox is more appropriate for large sets of options. You can also try to optimize the renderer if you have a custom one. ( But the combobox is much easier)