@php $gridDirection = $getGridDirection() ?? 'column'; $hasInlineLabel = $hasInlineLabel(); $id = $getId(); $isDisabled = $isDisabled(); $isInline = $isInline(); $isMultiple = $isMultiple(); $statePath = $getStatePath(); $areButtonLabelsHidden = $areButtonLabelsHidden(); @endphp $hasInlineLabel, ]) > {{ $getLabel() }} @foreach ($getOptions() as $value => $label) @php $inputId = "{$id}-{$value}"; $shouldOptionBeDisabled = $isDisabled || $isOptionDisabled($value, $label); @endphp
(! $isInline) && ($gridDirection === 'column'), ]) > first && $isAutofocused()) autofocus @endif @disabled($shouldOptionBeDisabled) id="{{ $inputId }}" @if (! $isMultiple) name="{{ $id }}" @endif type="{{ $isMultiple ? 'checkbox' : 'radio' }}" value="{{ $value }}" {{ $applyStateBindingModifiers('wire:model') }}="{{ $statePath }}" {{ $getExtraInputAttributeBag()->class(['peer pointer-events-none absolute opacity-0']) }} /> {{ $label }}
@endforeach