@if(!empty($locationDetailAPIdata['data']))
    <ul class="dropdown-menu" style="display:block; position:relative">
        @foreach($locationDetailAPIdata['data'] as $row)
            <li><i class="mdi mdi-map-marker"></i><a href="javascript:void(0);">{{ $row['name'] }}</a></li>
        @endforeach 
    </ul>
@else
    <ul class="dropdown-menu" style="display:block; position:relative">
        <li><i class="mdi mdi-map-marker"></i><a href="javascript:void(0);"></a>No data found!</li>
    </ul>
@endif
