title: How to update multiple selectizeInput with textInput?
body: <p>I'm trying to use updateSelectizeInput to update the selected options using a textInput. I've tried  pasting the input but only the first value was updated. I'd like to enter &quot;A&quot;, &quot;B&quot;, &quot;C&quot; as text so that the selectizeInput also reflects these values. Right now only &quot;A&quot; is shown in the select input box.</p>
  <p>Example:</p>
  <p><a href="https://i.stack.imgur.com/VwKD5.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VwKD5.gif" alt="enter image description here" /></a></p>
  <p>Code:</p>
  <pre><code>library(shiny)
  
  ui &lt;- fluidPage(
    sidebarLayout(
      sidebarPanel(
        textInput(&quot;text1&quot;, label = &quot;Type (A, B, C)&quot;)
        ),
      mainPanel(
        selectizeInput(&quot;select1&quot;, choices = c(&quot;A&quot;, &quot;B&quot;, &quot;C&quot;), label = &quot;Select&quot;, multiple = TRUE,
                      options = list(
                        delimiter = ',',
                        create = I(&quot;function(input, callback){
                                     return {
                                     value: input,
                                     text: input
                                     };
                                   }&quot;)
                        )),
       textOutput(&quot;select_output&quot;)
     )
   )
  )
  
  
  server &lt;- function(input, output, session) {
   
   observeEvent(input$text1, {
     updateSelectizeInput(session, &quot;select1&quot;, selected = paste(input$text1))
   })
   
    output$select_output &lt;- renderText({
      input$select1
    })
    
  }
  
  shinyApp(ui, server)
  
  </code></pre>