eufemia icon indicating copy to clipboard operation
eufemia copied to clipboard

Autocomplete limit rendered items

Open vron opened this issue 3 years ago • 1 comments

In short: filtering a relatively long array is fast / cheap - but rendering a lot of elements is expensive.

Im running into performance problems with the autocomplete component where i have a long list of options.

Is there any option to limit the automcomplete component to only render e.g. max 25 items at a time when suggesting?

(I know i could implement a on_type ahndler and pre-filter the array and send to updateData - but it feels like functionality that might allready exist but i cant find, or one that more users might find usefull)

vron avatar Nov 03 '21 15:11 vron