title: how to Bookmark a user inputs from shinywidget?
body: <p>i have some a bunch  of user inputs built using selectizeGroupUI from shinywidgets package .When i try to bookmark them i get no saved values.it seems hard to bookmark selectizeGroupUI.Does any one can help me?.</p>
  <pre class="lang-r prettyprint-override"><code>library(shiny)
  library(shinyWidgets)
  
  data(&quot;mpg&quot;, package = &quot;ggplot2&quot;)
  
  ui &lt;- function(request) {
     fluidPage(
        fluidRow(
           column(
              width = 10,
              offset = 1,
              bookmarkButton(),
              tags$h3(&quot;Filter data with selectize group&quot;),
              panel(
                 selectizeGroupUI(
                    id = &quot;my-filters&quot;,
                    params = list(
                       manufacturer = list(inputId = &quot;manufacturer&quot;, title = &quot;Manufacturer:&quot;),
                       model = list(inputId = &quot;model&quot;, title = &quot;Model:&quot;),
                       trans = list(inputId = &quot;trans&quot;, title = &quot;Trans:&quot;),
                       class = list(inputId = &quot;class&quot;, title = &quot;Class:&quot;)
                    )
                 ), status = &quot;primary&quot;),
              DT::dataTableOutput(outputId = &quot;table&quot;))))
  }
  
  server &lt;- function(input, output, session) {
     vals &lt;- reactiveValues(sum = NULL)
     
     res_mod &lt;- callModule(
        module = selectizeGroupServer,
        id = &quot;my-filters&quot;,
        data = mpg,
        vars = c(&quot;manufacturer&quot;, &quot;model&quot;, &quot;trans&quot;, &quot;class&quot;))
     
     output$table &lt;- DT::renderDataTable(res_mod())
     
     # Bookmarking code --------------------------
     onBookmark(function(state) {
        state$values$filtered &lt;- res_mod()
     })
     
     onRestore(function(state) {
        vals$sum &lt;- state$values$filtered
     })
  }
  
  shinyApp(ui, server, enableBookmarking = &quot;server&quot;)
  </code></pre>