The-Strategy-Unit / nhp_evidence_maps

Shiny app: NHP Models of Care evidence map
https://connect.strategyunitwm.nhs.uk/nhp_evidence_map/
Other
1 stars 0 forks source link

If evidence map updates and current cell selection becomes NA then selected table does not update #4

Closed O-Mohammed closed 4 months ago

O-Mohammed commented 10 months ago

After more investigating, datatable's cell_selected keeps its value when evidence map is updated. Using selectedRows() and proxy may be solution

O-Mohammed commented 6 months ago

Adding onto this bug. If user selects a cell in the evidence map, and then uses the drop down to create a new evidence map. If the new evidence map does not have a column ID that matches the users cell selection from previous evidence map then app crashes. i.e. if column 7 is selected in initial evidence map but the user then creates an evidence map with only 5 columns, this will crash the app.