I'm using Laravel 5.4 and i'm trying to make select form with this code:
{{ Form::select('country', App\Countries::all()->pluck('en_title'), old('country', $user->country), array('class' => 'form-control') ) }}
The result that i'm receiving is this:
<select name="country" class="form-control">
<option value="0">a</option>
<option value="1">b</option>
<option value="2">c</option>
<option value="3">d</option>
...
</select>
The problem is that i don't have in the database value 0, so i want to start from value="1" like:
<select name="country" class="form-control">
<option value="1">a</option>
<option value="2">b</option>
<option value="3">c</option>
<option value="4">d</option>
...
</select>
What should i change? I read everything possible, but no one try to do this with the specific function, or this is impossible with this function?