@if(count($options))
    <label>{{ __('product_warehouses.option_id') }} </label>
    <select id="option_id"  class="form-control {{ $errors->has('option_id') ? 'is-invalid' : '' }}" name="option_id">
        <option value="">{{__('dashboard.select')}}</option>
        @foreach($options as $row)
            <option {{ (isset($productWarehouse) ? $productWarehouse->option_id : null) == $row->id ? 'selected' : '' }} value="{{$row->id}}">{{$row->title}}</option>
        @endforeach
    </select>
@endif
