@if ($disabled ?? false)
    @if (count($list ?? []))
        <ul>
        @foreach($list as $key => $item)
            @if (in_array($key, $values))
                <li>{{ $item }}</li>
            @endif
        @endforeach
        </ul>
    @endif
@else
    @include('components.form.select', [
        'class' => 'duallist',
        'multiple' => true,
    ])
@endif
