@php $affixLabelClasses = [ 'whitespace-nowrap group-focus-within:text-primary-500', 'text-gray-400' => ! $errors->has($getStatePath()), 'text-danger-400' => $errors->has($getStatePath()), ]; @endphp
merge($getExtraAttributes())->class(['filament-forms-select-component group flex items-center space-x-1 rtl:space-x-reverse']) }} > @if (($prefixAction = $getPrefixAction()) && (! $prefixAction->isHidden())) {{ $prefixAction }} @endif @if ($icon = $getPrefixIcon()) @endif @if (filled($label = $getPrefixLabel())) {{ $label }} @endif
@unless ($isSearchable() || $isMultiple()) @else
merge($getExtraAttributes()) ->merge($getExtraAlpineAttributes()) ->class(['filament-forms-input']) }} x-bind:class="{ 'choices--error': @js($getStatePath()) in $wire.__instance.serverMemo.errors, }" >
@endif
@if (filled($label = $getSuffixLabel())) {{ $label }} @endif @if ($icon = $getSuffixIcon()) @endif @if (($suffixAction = $getSuffixAction()) && (! $suffixAction->isHidden())) {{ $suffixAction }} @endif