title: Getting 'old' value of a select input laravel
body: <p>I'm working on validating my registration form. </p>
  
  <p>If the input is a regular input, i can populate the previous value if it fails like so</p>
  
  <pre><code>&lt;input type="tel" name="phone" value="{{old('phone')}}"&gt;
  </code></pre>
  
  <p>How do I populate the value on a select option?</p>
  
  <pre><code>&lt;div class="input--select"&gt;
                          &lt;label&gt;Age Range &lt;span&gt;*&lt;/span&gt;&lt;/label&gt;
                          &lt;select name="age_range" class="age-range" value="{{old('age_range')}}" required&gt;
                            &lt;option selected disabled&gt;Select your age range&lt;/option&gt;
                            &lt;option value="18-25"&gt;18-25&lt;/option&gt;
                            &lt;option value="26-35"&gt;26-35&lt;/option&gt;
                            &lt;option value="36-45"&gt;36-45&lt;/option&gt;
                            &lt;option value="46-55"&gt;46-55&lt;/option&gt;
                            &lt;option value="56-65"&gt;56-65&lt;/option&gt;
                            &lt;option value="66-75"&gt;66-75&lt;/option&gt;
                            &lt;option value="75+"&gt;75+&lt;/option&gt;
                          &lt;/select&gt;
                          @if ($errors-&gt;has('age_range')) &lt;span class="error-message"&gt;Age range option is required.&lt;/span&gt; @endif
                        &lt;/div&gt;
  </code></pre>