Auto complete and selection of multiple values in text box shiny
<p>Is it possible to select multi values using auto complete strings similar to google search and stack overflow tags selection in shiny text box.</p>

<pre><code>dataset&lt;-cbind("John Doe","Ash","Ajay sharma","Ken Chong","Will Smith","Neo"....etc)
</code></pre>

<p>I want to select multiple variables from the above dataset as a auto fill in my textbox and pass it to my server.R</p>

<p>ui.R</p>

<pre><code>shinyUI(fluidPage(
  titlePanel("test"),

  sidebarLayout(
    sidebarPanel(
      helpText("text"),

      textInput("txt","Enter the text",""),
      #Pass the dataset here for auto complete

     ),

    mainPanel(
      tabsetPanel(type="tab",tabPanel("Summary"),textOutput("text2"))

    )
  )
))
</code></pre>

<p>server.R</p>

<pre><code># server.R

shinyServer(function(input, output) {

output$text2&lt;- renderText({
paste("hello",input$txt)

 })


}
)
</code></pre>

<p>EDITED</p>

<p>I have used <strong>select2input</strong> from shinysky for selecting mulitiple varialbes but now I have added submit button to get selected values together.</p>

<pre><code>#ui.R
select2Input("txt","This is a multiple select2Input",choices=c("a","b","c"),selected=c("")),

actionButton("go","submit") 
</code></pre>

<p>I want to bind selected option lets say user selected a and c then new variable is</p>

<pre><code>#server.R
input$go #if pressed submit button
var&lt;-cbind("a","c")
output$text&lt;-renderText({ print ("var")})
</code></pre>

<p>but this is not working</p>