@php use Filament\Support\Facades\FilamentView; $canSelectPlaceholder = $canSelectPlaceholder(); $isDisabled = $isDisabled(); $isPrefixInline = $isPrefixInline(); $isSuffixInline = $isSuffixInline(); $prefixActions = $getPrefixActions(); $prefixIcon = $getPrefixIcon(); $prefixLabel = $getPrefixLabel(); $suffixActions = $getSuffixActions(); $suffixIcon = $getSuffixIcon(); $suffixLabel = $getSuffixLabel(); $statePath = $getStatePath(); @endphp @if ((! ($isSearchable() || $isMultiple()) && $isNative())) @php $isHtmlAllowed = $isHtmlAllowed(); @endphp @if ($canSelectPlaceholder) @endif @foreach ($getOptions() as $value => $label) @if (is_array($label)) @foreach ($label as $groupedValue => $groupedLabel) @endforeach @else @endif @endforeach @else
merge($getExtraAttributes(), escape: false) ->merge($getExtraAlpineAttributes(), escape: false) ->class([ '[&_.choices\_\_inner]:ps-0' => $isPrefixInline && (count($prefixActions) || $prefixIcon || filled($prefixLabel)), ]) }} >
@endif