title: Way to insert value into select list option by use Laravel Collection methods.
body: <p>Below code make job_type select box by reading <code>job_type</code> field from Job Table in the DB.</p>
  
  <p>Also, it working how if a list selected as <strong>Andre</strong> in the select box then Modal will show.</p>
  
  <p><strong><em>Question.</em></strong></p>
  
  <ol>
  <li>Below list box showing lists that predefined values in the table. 
  How could I pre-define list value <strong>Andre</strong> into the list even if it
  is not included in the DB.</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/R2LPj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R2LPj.png" alt="enter image description here"></a></p>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>public function edit($id)
  {
    ---
    $job_types = Job::all()-&gt;pluck('job_type', 'job_type')-&gt;unique();
    ---
  }
  </code></pre>
  
  <p><strong>View</strong>(select box.)</p>
  
  <pre><code>&lt;!-- Job Type Field --&gt;
  &lt;div class="form-group col-sm-3 col-lg-3"&gt;
      {!! Form::label('job_type', 'Job Type:') !!}    
      {!! Form::select('job_types', $job_types, null, ['class' =&gt; 'form-control', 'id' =&gt; 'job_type']) !!}
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>View</strong>(Modal box to insert new <code>job_type</code>)</p>
  
  <pre><code>{{--  Modal box define start  --}}
  &lt;div class="modal fade" id="jobListModal"&gt;
          &lt;div class="modal-dialog"&gt;
            &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                &lt;button type="button" class="close" data-dismiss="modal"&gt;&lt;span aria-hidden="true"&gt;×&lt;/span&gt;&lt;span class="sr-only"&gt;Close&lt;/span&gt;
                &lt;/button&gt;
                &lt;h4 class="modal-title"&gt;Sett inn ny jobb emne&lt;/h4&gt;
              &lt;/div&gt;
              &lt;div class="modal-body"&gt;
                &lt;p&gt;New Job Type:&lt;/p&gt;
                &lt;input type="text" id="textInput"&gt;
              &lt;/div&gt;
              &lt;div class="modal-footer"&gt;
                &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
                &lt;button type="button" id="btnSave" class="btn btn-primary"&gt;Save&lt;/button&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;!-- /.modal-content --&gt;
          &lt;/div&gt;
          &lt;!-- /.modal-dialog --&gt;
        &lt;/div&gt;
        &lt;!-- /.modal --&gt;
  {{--  Modal box define end  --}}
  </code></pre>
  
  <p><strong>Jquery code</strong>(for Modal)</p>
  
  <pre><code>$('#job_type').on('mouseleave touchend', function (e) {
      if ('Andre' == this.value) {
          $("#jobStopModal").modal("show");
      }
  });
  $('#btnSave').on('click', function () {
      var newType = $('input#textInput').val();
      $('select#job_type option:last')
          .after('&lt;option value="' + newType + '" selected="selected" &gt;' + newType + '&lt;/option&gt;');
      $('#jobListModal').modal('hide');
  });
  </code></pre>
  
  <p><strong>Test result after hearing advice</strong></p>
  
  <p>I followed @Nouphal.M's advice, so I revised some code in the Controller as below and it is working good, but I got a below image of list view. It is expressed as being included in the subcategory of option list '0'. </p>
  
  <p>How could I modify to out of option list? and why did this result came out?</p>
  
  <p>Thank you in advenced.</p>
  
  <pre><code>$customData = array('**NY**'=&gt;'**NY**');
  
  $job_types = Job::whereNotNull('job_type')
  -&gt;orderBy('job_type', 'desc')
  -&gt;pluck('job_type', 'job_type')
  -&gt;push($customData)
  -&gt;unique();
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/teH0G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/teH0G.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/SAeaf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SAeaf.png" alt="enter image description here"></a></p>