Shiny server side bookmarking not working for airMonthPicker

I'm setting up server side bookmarking for my app and it appears to have an issue loading the input values saved for airMonthPicker. All my other input types appear to work. When I look at the input.rds file that's created I can see the values for yearMonSelect are saved. Is there an additional step I need to do to load these values into the current state when someone uses the bookmark?

Below is the app simplified with just the airMonthPicker, select some dates, click the bookmark button, copy the link and load in a new window. You'll see the dates are not selected in the picker.

Thoughts appreciated!

readRDS('shiny_bookmarks/7fa5eac47bf83774/input.rds')
$`sidebar`
NULL

$sidebarCollapsed
[1] FALSE

$sidebarItemExpanded
NULL

$yearMonSelect
[1] "2019-01-01" "2019-02-01"
#> Error: <text>:2:1: unexpected '$'
#> 1: readRDS('shiny_bookmarks/7fa5eac47bf83774/input.rds')
#> 2: $
#>    ^

Created on 2019-02-23 by the reprex package (v0.2.0).

library(shiny)
library(shinydashboard)
#> 
#> Attaching package: 'shinydashboard'
#> The following object is masked from 'package:graphics':
#> 
#>     box
library(shinyWidgets)
#> Warning: package 'shinyWidgets' was built under R version 3.5.2

ui <-  function(request) {
  dashboardPage(skin = "black",
               dashboardHeader(
                 title="Test App"
               ),
               dashboardSidebar(
                 sidebarMenu(id = "sidebar",
                             airMonthpickerInput(
                                inputId = "yearMonSelect", label = "Year & Month :", 
                                minDate = "2018-01-01", 
                                maxDate = "2019-12-31",
                                clearButton = TRUE,
                                multiple = TRUE,
                                addon = "none"
                              ),
                              bookmarkButton()
                             )
                 ),
               dashboardBody(
                 
               )
  )
}


server <- function(input, output, session) {
  
}

enableBookmarking(store = "server")

shinyApp(ui = ui, server = server)

Shiny applications not supported in static R Markdown documents

Created on 2019-02-23 by the reprex package (v0.2.0).

Also current versions:

platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 5.1
year 2018
month 07
day 02
svn rev 74947
language R
version.string R version 3.5.1 (2018-07-02)
nickname Feather Spray
Shiny: 1.1.0.9001

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.