0

I´m using a date range input for setting the time limits of my data tables.

Nevertheless, I want to have buttons (I thought on action buttons) to quickly set up a time range (e.g, 1 month). Hence, not having to select manually in the date range input the time span desired. Is it possible?

Konrad Rudolph
  • 530,221
  • 131
  • 937
  • 1,214

1 Answers1

0

Possible answer:

  observeEvent(input$action_3, {
       updateDateRangeInput(inputId = "DateRange",
                             start = today() %m-% months(6),
                             end = today() 
  • There must be some code missing. The curly bracket `{` is not closed and the parenthese in `observeEvent(` and `updateDateRangeInput(`, too. – benimwolfspelz Dec 05 '22 at 13:33