title: Add default value to select list in laravel form
body: <p>I want to retrieve database values in category name and i want to show default value in selection. 
  This is my controller for my edit view</p>
  
  <pre><code>public function edit($id)
      {
          $account = Account::findOrFail($id);
  
          $banks = Bank::all();       
  
          return view('account.edit', compact(['account', 'banks']));
      }
  </code></pre>
  
  <p>but in banks category i get it from banks model. this is not showing default value in my edit view selection.</p>
  
  <p>This is my edit view selection</p>
  
  <pre><code> &lt;div class="form-group"&gt;
      &lt;label for="bank_id"&gt;Bank&lt;/label&gt;
          &lt;select class="form-control" name="bank_id"&gt;
              @if(!empty($banks))
                  @foreach($banks as $bank)
                  &lt;option value="{{ $bank-&gt;id }}"&gt;{{ $bank-&gt;name }}&lt;/option&gt;
                  @endforeach
              @endif
          &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I used edit button for pass id to my controller</p>
  
  <pre><code>&lt;a class="btn btn btn-secondary" href="{{route('account.edit', $account-&gt;id)}}"&gt;&lt;span class="fa fa-pencil"&gt;&lt;/span&gt; Edit&lt;/a&gt;
  </code></pre>