selectInput() with more than 1,000 options

Hi,

I want to pass a list with more than 1,000 records to a selectInput() in Shiny, it cut off anything after 1,000.

Is there any way to lazy load or call the server when user scroll or start typing?

Thanks,
Mehdi

If it's more than a thousand it shouldn't be a lost it should be a text box.

Use a text box instead

Try using selectizeInput. You can refer to https://shiny.rstudio.com/articles/selectize.html for more guidance.

2 Likes