Jak pobrać dane z bazy danych za pomocą opcji SELECT w Laravel
<select class="form-control" name="product_id">
<option>Select Product</option>
@foreach ($products as $key => $value)
<option value="{{ $key }}" {{ ( $key == $selectedID) ? 'selected' : '' }}>
{{ $value }}
</option>
@endforeach
</select>
Detetive