jeudi 10 mai 2018

Undefined offset: 2 in Laravel 5

I want to keep the values in multiselect however, it shows Undefined offset: 2. The codes is below for the blade file.

<select multiple="multiple" name="warehouseId[]" id="warehouse" class="form-control" style="width:100%;">
@if($warehouseData)
  @foreach ($warehouseData as $key => $warehouse)
    <option value="" > </option>
  @endforeach
@endif
</select>



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2IaK8Wr
via IFTTT

Aucun commentaire:

Enregistrer un commentaire