title: Shiny retrieve data from selectize renderedUI
body: <p>I am trying to create a shiny app where I load data from a CSV, use data from the CSV to populate a selectize menu, let the user hit an action button, and send the data back to the sever where I can manipulate it. My issue currently is I cannot return any of the data that has been selected. The selectize list populates wonderfully, but from there I am unable to manipulate any of the results on the server. </p>
  
  <p>I have attached some code snippets below. </p>
  
  <p>Thank you for your time!</p>
  
  <p>server.R:</p>
  
  <pre><code>output$singlefactor &lt;- renderUI({
  name&lt;-name()
  selectizeInput("sfactor", "Select Last Name:", name$last.name,multiple=T)})
  
  select_text&lt;-eventReactive(input$goButton,{
  updateSelectizeInput(session, "sfactor", server =TRUE,selected=input$sfactor)
  print(input$sfactor)})
  </code></pre>
  
  <p>ui.R</p>
  
  <pre><code> tabPanel("Name Search",
         sidebarLayout(
           sidebarPanel(uiOutput("singlefactor"),
                        actionButton("goButton", "Search"))
  </code></pre>