0

I am creating a flexdashboard that has a sidebar with a dateRangeInput() and an actionButton(). Once the date selection has been made and the button has been clicked I am using observeEvent() to run a SQL query with the selected dates and then display a data table of the results. What I want to do is setup sidebar pickerInput() filters to filter the resulting table however since the data doesn't exist when the app loads this does not work. Is there a way to have the pickerInput() filters load after the data from the query is returned?

user3249770
  • 329
  • 2
  • 7
  • 1
    Have a look at `updatePickerInput` which from your description you could add to the obsevreEvent to update the picker input after you get the results of your query. – stefan Feb 16 '23 at 20:04

0 Answers0