You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pertains to what we currently have in line 532 of mod_figures.R
shiny::selectizeInput(ns("selsites1"), "Select sites", choices = sites, selected = sites[1], multiple = TRUE, width = "100%")
The text was updated successfully, but these errors were encountered:
I needed to split the function into a UI and an server component. The server part handles paging the records so there is no overflow. There are lots if instances of this usage in the application. They have the signature shiny::updateSelectizeInput(...)
This has been fixed. Changes are in R\mod_figures.R. To check
Run query with the following WQP filter inputs:
countrycode: Atlantic Ocean and Pacific Ocean
sampleMedia: "Water" "water"
providers: "NWIS" "STORET"
(clear date filters)
Go to tab 3. Test and click button 'Run Tests'
Go to tab 3. Explore and click button 'Generate Groups'
click button 'Generate Map'
put cursor in 3. Select Specific Sites (Optional) select list
List of all sites should appear and can be scrolled through
Describe the bug
The application will crash on the Explore tab if too many sites are selected for mapping.
To Reproduce
Steps to reproduce the behavior:
Run Tests on flag tab
Skip ahead to explore tab
Generate Groups with TADA.ComparableDataIdentifier entered as the grouping column
This is when the app crashes and you get the error below:
Expected behavior
The app should not crash.
If you enter ?selectizeInput to the console. There are instructions here on how to change this to a server side selectize input instead: https://shiny.posit.co/r/articles/build/selectize/
This pertains to what we currently have in line 532 of mod_figures.R
shiny::selectizeInput(ns("selsites1"), "Select sites", choices = sites, selected = sites[1], multiple = TRUE, width = "100%")
The text was updated successfully, but these errors were encountered: