title: Shiny selectInput to select all from dropdown
body: <p>I have <code>selectInput</code> dropdown like this:</p>
  
  <pre><code>selectInput("locInput", "Location", choices=c("All","New Mexico", "Colorado", "California"))
  </code></pre>
  
  <p>What I want to achieve is to make selectInput by default not filter by anything, as in when "All" is selected then it should list all observations (so from California, Colorado etc.)
  So what I tried to do is create simple logic for this:</p>
  
  <pre><code>server &lt;- function(input, output) {
    filtered&lt;-reactive({
      shows %&gt;%
      filter(Length &gt;= input$lenInput[1],
             Length &lt;= input$lenInput[2],
             if (input$locInput != "All"){
             Location==input$locInput
      })
  </code></pre>
  
  <p>But this doesn't seem to work.
  Any ideas what can I change in order to make it work correctly?</p>