@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 flex items-center space-x-1 rtl:space-x-reverse group']) }}> @if (($prefixAction = $getPrefixAction()) && (! $prefixAction->isHidden())) {{ $prefixAction }} @endif @if ($icon = $getPrefixIcon()) @endif @if ($label = $getPrefixLabel()) {{ $label }} @endif
@unless ($isSearchable() || $isMultiple()) @else
merge($getExtraAttributes())->merge($getExtraAlpineAttributes()) }} x-bind:class="{ 'choices--error': (@js($getStatePath()) in $wire.__instance.serverMemo.errors), }" >
@endif
@if ($label = $getSuffixLabel()) {{ $label }} @endif @if ($icon = $getSuffixIcon()) @endif @if (($suffixAction = $getSuffixAction()) && (! $suffixAction->isHidden())) {{ $suffixAction }} @endif