@if (($list ?? false) && count($list))
	@foreach($list as $key => $item)
		<option @if (isset($values) && in_array($key, $values)) selected @endif value="{{$key}}">{{ $item }}</option>
	@endforeach
@endif
