@if ($visibled) @if ($maxLists && count($values) > $maxLists) @php $count = 0; $more = count($values) - $maxLists; @endphp @foreach ($values as $value) @php if(++$count > $maxLists) break; @endphp {!! $value !!} @endforeach {{ trans('sleeping_owl::lang.select.more', ['count' => $more]) }} @else @foreach ($values as $value) {!! $value !!} @endforeach @endif {!! $append !!} @if($small) {!! $small !!} @endif @endif