The current paging options for selection prompt only supports client-based paging, meaning all the choices are already in memory.
If there are hundreds or thousands of choices possible this is not ideal, and it would be better to go get the next/prev page choices as the user is paging.
Describe the solution you'd like
There is a need to page these results dynamically by calling a function to go get the next page/batch of results from whatever storage.
Describe alternatives you've considered
I tried to extend the SelectionPrompt class and add the functionality, but it is sealed. Is there a way to add this functionality by way of extending/extension?
Please upvote :+1: this issue if you are interested in it.
The current paging options for selection prompt only supports client-based paging, meaning all the choices are already in memory. If there are hundreds or thousands of choices possible this is not ideal, and it would be better to go get the next/prev page choices as the user is paging.
Describe the solution you'd like There is a need to page these results dynamically by calling a function to go get the next page/batch of results from whatever storage.
Describe alternatives you've considered I tried to extend the SelectionPrompt class and add the functionality, but it is sealed. Is there a way to add this functionality by way of extending/extension?
Please upvote :+1: this issue if you are interested in it.