title: Default value on form select (with foreach loop)
body: <p>So, I want to achieve a <code>&lt;select&gt;</code> like solution where a default value is equal to the value that is currently in the database, so the 'old value'.</p>
  
  <h1>1</h1>
  
  <p>I have this, where I loop a foreach to fill <code>&lt;option&gt;</code>.:  </p>
  
  <blockquote>
  <pre><code>&lt;select id="size"  name="size" class="form-control"&gt;
      @foreach ($sizes as $s)
          &lt;option value="{{ $s-&gt;value }}"&gt;{{ $s-&gt;name }}&lt;/option&gt;
      @endforeach
  &lt;/select&gt;
  </code></pre>
  </blockquote>
  
  <p>Now where I want to use this is an <strong>edit-form</strong> in laravel 5.2 where it fills in this form with the current values from the database for the selected user. My input fields with text fill in correctly but this select doesn't.</p>
  
  <h1>2</h1>
  
  <p>Working with Laravel forms I know this is possible to set the default value to <strong>S</strong>. But I don't know how to loop this is foreach...:</p>
  
  <blockquote>
  <pre><code>{{ Form::select('size', array('L' =&gt; 'Large', 'S' =&gt; 'Small'), 'S') }}
  </code></pre>
  </blockquote>
  
  <p>So I need to find a way to set default value with HTML-select tags while in a loop with values from my controller <strong>or</strong> find a way to loop in Laravel Forms.. Either is good, as long as it works</p>