@php $gridDirection = $getGridDirection() ?? 'column'; $hasInlineLabel = $hasInlineLabel(); $id = $getId(); $isDisabled = $isDisabled(); $isInline = $isInline(); $isMultiple = $isMultiple(); $statePath = $getStatePath(); @endphp $hasInlineLabel, ]) > {{ $getLabel() }}
merge($getExtraAttributes(), escape: false) ->class([ 'state-container', 'grid' => ! $isInline && $gridDirection === 'row', 'flex justify-end flex-wrap' => $isInline, ]) }} > {{ $getChildComponentContainer() }} @foreach ($getOptions() as $value => $label) @php $inputId = "{$id}-{$value}"; $shouldOptionBeDisabled = $isDisabled || $isOptionDisabled($value, $label); @endphp
true, 'border-primary-500', 'break-inside-avoid pt-3' => (! $isInline) && ($gridDirection === 'column'), ]) > class(['peer pointer-events-none absolute opacity-0']) }} /> {{ $label }}
@endforeach
@push('styles') @endpush