crosstalk
crosstalk copied to clipboard
filter_slider will not work with dates if a datatable is present
Minimal reproducible example here (flexdashboard): https://github.com/papapalpatine/Bugs/blob/master/FilterSlider_DataTable_Bug.Rmd
Basically, I can either have a data table, or have a filter slider that can use dates, but if I try to have both, none of them show up in the resulting output file.
See lines 15-16 of example in link to switch up which options apply:
generate_dataTable <- TRUE; filter_slider_with_date <- FALSE; #Either of these will work BUT NOT BOTH
filter_slider can work with numbers without a problem with respect to including a datatable. But ask it to work with dates or times and you get a blank file if you also try to include a datatable. The issue occurs regardless of whether the data table is applied to a SharedData object or not.
Anyone know what's going on here?
I am also encountering this in 2022... Whenever I add a datatable, the filter_slider turns from the nice range slider into a Input box and cannot be used.