<ul class="dropdown-menu" style="display:block; position:relative">
@foreach($locationDetailAPIdata['data'] as $row)
    <li><i class="mdi mdi-map-marker"></i><a href="#">{{ $row['name'] }}</a></li>
@endforeach 
</ul>