title: How to use key board arrow keys in selectInput of shiny - rstudio
body: <p>In the following code how can I use the keyboard arrow keys to go up and down to select categories  from the drop down list and once I hit "enter" I would like to have it selected.</p>
  
  <pre><code>rm(list = ls())
  library(shiny)
  mychoices &lt;- c("A1", "A2", "B1", "B2", "C1", "C2")
  
  ui &lt;- fluidPage(
  selectInput("campaigns", "Choose campaign(s):", multiple = T, choices = 
  mychoices),
  
  )
  server &lt;- function(input, output, session) {
  
  
  }
  
  runApp(list(ui = ui, server = server))
  </code></pre>