<?php $dash.='-- '; ?>
@foreach($subcategories as $subcategory)
    <option value="{{$subcategory->id}}">{{$dash}}{{$subcategory->name}}</option>
    @if(count($subcategory->subcategory))
        {{-- @include('subCategoryList-option',['subcategories' => $subcategory->subcategory]) --}}
        @include('admin.blogs.categories.subcategoryList-option',['subcategories' => $subcategory->subcategory])
    @endif
@endforeach
