@foreach($childs as $child)
    <option value="{{ $child->id }}">
        @for ($i = 0; $i < $spaces; $i++) 
            &emsp; 
        @endfor 
        {{ $child->name ?? '' }} 

        {{-- @if($child->childs)
            @include('admin.components.product-add-attribute-category', ['childs' => $child->childs, 'spaces' => $spaces + 1])
        @endif --}}
    </option>
@endforeach
