When an application is bookmarked and restored the matrixInputs lose their values.
An example follows.
ui <- function(request) {
shiny::fluidPage(
shinyMatrix::matrixInput("my_matrix", "Matrix"),
shiny::verbatimTextOutput("my_text"),
shiny::bookmarkButton()
)
}
server <- function(input, output, session) {
output$my_text <- shiny::renderPrint(input$my_matrix)
}
shiny::shinyApp(ui, server, enableBookmarking = "url")
Run the app.

Enter "7".

Click "Bookmark...".

Restore the application.

The matrixInput is not seeded with "7", as it ought to be.
When an application is bookmarked and restored the matrixInputs lose their values.
An example follows.
Run the app.




Enter "7".
Click "Bookmark...".
Restore the application.
The matrixInput is not seeded with "7", as it ought to be.